|
Pro Android with Kotlin@de android telegram Pro Android with Kotlin Developing Modern Mobilexii
Table of Contents
Named Arguments ������������������������������������������������������������������������������������������������������������������������������ 275
Scoping Functions ������������������������������������������������������������������������������������������������������������������������������ 275
Nullability �������������������������������������������������������������������������������������������������������������������������������������������� 277
Data Classes ��������������������������������������������������������������������������������������������������������������������������������������� 277
Destructuring �������������������������������������������������������������������������������������������������������������������������������������� 278
Multiline String Literals ���������������������������������������������������������������������������������������������������������������������� 279
Inner Functions and Classes ��������������������������������������������������������������������������������������������������������������� 279
String Interpolation ����������������������������������������������������������������������������������������������������������������������������� 279
Qualified “this” ����������������������������������������������������������������������������������������������������������������������������������� 280
Delegation ������������������������������������������������������������������������������������������������������������������������������������������ 280
Renamed Imports ������������������������������������������������������������������������������������������������������������������������������� 281
Kotlin on JavaScript ����������������������������������������������������������������������������������������������������� 281
Creating a JavaScript Module ������������������������������������������������������������������������������������������������������������� 281
Using the JavaScript Module �������������������������������������������������������������������������������������������������������������� 283
■
Chapter 11: Building ������������������������������������������������������������������������������������������ 285
Build-Related Files ������������������������������������������������������������������������������������������������������� 285
Module Configuration ��������������������������������������������������������������������������������������������������� 286
Module Common Configuration ������������������������������������������������������������������������������������ 288
Module Build Variants��������������������������������������������������������������������������������������������������� 288
Build Types ����������������������������������������������������������������������������������������������������������������������������������������� 289
Product Flavors ����������������������������������������������������������������������������������������������������������������������������������� 290
Source Sets ���������������������������������������������������������������������������������������������������������������������������������������� 291
Running a Build from the Console �������������������������������������������������������������������������������� 293
Signing ������������������������������������������������������������������������������������������������������������������������� 294
■
Chapter 12: Communication ������������������������������������������������������������������������������ 297
ResultReceiver Classes ������������������������������������������������������������������������������������������������ 297
Firebase Cloud Messaging ������������������������������������������������������������������������������������������� 299
Communication with Backends ������������������������������������������������������������������������������������ 301
Communication with HttpsURLConnection ������������������������������������������������������������������� 302
Networking with Volley ������������������������������������������������������������������������������������������������� 304
|
|
|