History log of /frameworks/support/paging/common/src/main/java/android/arch/paging/PositionalDataSource.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f0d13608aae3b4700d84c1c4532abbea56ea7a28 08-Sep-2017 Chris Craik <ccraik@google.com> Paging doc codesample improvements, api cleanup

Added detail to several docs:
- Both DataSources, added invalidation code.
- All Adapters/AdapterHelpers, added DiffCallback samples
- Simplified samples by removing @NonNull/@Nullable in specific cases

Also rename loadCount -> countItems, to match with the KeyedDataSource
counting APIs.

Avoid need for LiveListAdapterUtil by using a weak reference from the
PagedList to the data presentation layer (Adapter/AdapterHelper)

Bug: 64809611
Test: ./gradlew createFlatfootDocsArchive -PofflineDocs=true

Change-Id: I2df5a9891a96e96f009a311100d7ff4b48a01d3f
/frameworks/support/paging/common/src/main/java/android/arch/paging/PositionalDataSource.java
fd4fa4a65be59806d14e4625397948da008506b4 31-Aug-2017 Chris Craik <ccraik@google.com> Keyed sample with save/restore, associated fixes

Bug:64809611
Test: room-integration-tests-testapp, paging-common, paging-runtime

Full keyed sample, and save/restore added to both the keyed
and positional samples.

Also moves DataSource#isInvalid() checks to be internal and automatic, so e.g.
DB DataSources don't need to call them manually.

Change-Id: I2c674b2d8d45151a23c953bd7d5354cd38f773ec
/frameworks/support/paging/common/src/main/java/android/arch/paging/PositionalDataSource.java
ef346ae131affbba6345e00d833103acc5743c8a 29-Aug-2017 Chris Craik <ccraik@google.com> Paging API refinements, and package name rework

Bug: 64809611
Test: tests in paging-runtime, paging-common, room-integration-tests

Change-Id: I1e26f130d95b31494f9a0ef734fd87594de9ddd1
/frameworks/support/paging/common/src/main/java/android/arch/paging/PositionalDataSource.java