Index
@{} operator, 389, 392
and application architecture, 389
and view models, 392, 393
binding adapters, 397
binding classes, 378
enabling, 378
lambda expressions, 397
observable data, 394
/data/data directory, 269
database schema, 270
databases, SQLite, 269-288
Date class, 237
DatePicker class, 232
debug key, 30
debugging
(see also Android Lint)
about, 75
build errors, 87
crash, 76
crash on unconnected device, 77
database issues, 276
misbehaviors, 78
online help for, 87
R, 87
running app with debugger, 80
stopping debugger, 82
using breakpoints, 80-84
when working with teams, 659
DEFAULT (Intent), 466
default resources, 341
delayed execution, 544
density-independent pixel, 201
dependencies, adding, 131- 133
dependency injectors, 180
detach(Fragment) method
(FragmentTransaction), 223
developer documentation, 120, 121
device configurations, 63
devices
configuring language settings, 338
hardware, 27
virtual, 27, 318
devices view, 46
Dialog class, 227
DialogFragment class
about, 228
onCreateDialog(Bundle), 230
show(...), 231
dialogs, 227-235
diamond notation, 160
dip (density-independent pixel), 201
documentation, 120, 121
doInBackground(...) method (AsyncTask), 479
dp (density-independent pixel), 201
draw() method (View), 606
drawables
9-patch images, 446
layer list, 443
referencing, 51
shape, 439
state list, 441
XML drawables, 437
drawing
Canvas, 606
in onDraw(Canvas), 606
Paint, 606
E
EditText class, 139
elevation, 664
emulator
creating a virtual device for, 27
for location testing, 623- 626
installing, xxii
rotating, 51
running on, 27
search queries on, 531
for tablets, 318
Emulator Control (Android Studio), 624
errors, 21
(see also debugging)
escape sequence (in string), 40
EventBus, 578
exception breakpoints, 83, 84
exceptions, 76, 78
explicit intents
creating, 100
creating at runtime, 461
implicit intents vs, 289
purpose, 101
Explore by Touch, 359
extras
about, 102
fragments retrieving from activity, 207
as key-value pairs, 102