January 2018
Intermediate to advanced
434 pages
14h 1m
English
The observable delegated property can be used extensively in adapters. Adapters are used to populate data in some sort of list. Usually, when data is updated, we just update the member variable list in the adapter and then call notifyDatasetChanged(). With the help of observable and DiffUtils, we can just update the things that are actually changed, rather than changing everything. This results in much more efficient performance.
Read now
Unlock full access