a150f19e8a474e842d952a7c065fa96278a500b8 |
|
20-Sep-2017 |
Chris Craik <ccraik@google.com> |
Fix paging dependency on junit Fixes: 65690261 Test: paging-common tests still run/pass Change-Id: I2b7e4921161571cb12f7da7478cf2182ffbe6634
/frameworks/support/paging/common/build.gradle
|
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/build.gradle
|
ad919feb0b6408c3e2048cf59f67fc46b30d0a89 |
|
11-Sep-2017 |
Yigit Boyar <yboyar@google.com> |
enable paging artifacts Bug: 36069458 Test: n/a Change-Id: I5e69e36e308bdc1b8bbc51d8cea148b609a798e1
/frameworks/support/paging/common/build.gradle
|
d38298284cef36dfa8b0749c675fc653b3ea7935 |
|
26-Aug-2017 |
Yigit Boyar <yboyar@google.com> |
use explicit versions for flatfoot This CL moves flatfoot libs to 1.0.0 if SL depends on them. Also generated the api.txt for these libraries. Bug: 65022193 Bug: 36069458 Test: checked generated zip file Change-Id: I405d939e3d0b335a17bbed02eab1792ab6516612
/frameworks/support/paging/common/build.gradle
|
2e9d5136685b07ef5bfabcd3936b1eedb5d24e91 |
|
25-Aug-2017 |
Chris Craik <ccraik@google.com> |
DataSource key rework Bug: 64809611 Test: tests in paging-runtime, paging-common, room-integration-tests Test: QueryDataSourceTest, ComplexQueryDataSourceTest, LimitOffsetDataSourceTest, KeyedDataSourceTest All data sources now have a Key type, so that KeyedDataSource entirely avoids positions. Change-Id: I10ea33794621580e54876e422ffc69c3e21f453e
/frameworks/support/paging/common/build.gradle
|
bb85facdec67ba2d8c47fca3e80e6ba480e14fd3 |
|
24-Aug-2017 |
Aurimas Liutikas <aurimas@google.com> |
More build setup for flatfoot projects. Bug: 64974262 Test: ./gradlew runBuildServerCompilationTasks Change-Id: I9d3468603391b573501c1de5e797617bbb91319a
/frameworks/support/paging/common/build.gradle
|
ad73eb9405045a8194c5b1296d878b9b2dfb98bf |
|
18-Jul-2017 |
Yigit Boyar <yboyar@google.com> |
Merge "hide paging from release" into oc-support-26.0-dev am: 50442a97e4 Change-Id: Ifc296877e3a1d040e25c7be8136daefac3fb44a5
|
3ec9f6254d909d0714f39ebea24250755582b3ef |
|
18-Jul-2017 |
Yigit Boyar <yboyar@google.com> |
hide paging from release Bug: 36069458 Test: N/A Change-Id: Ic28bc0f12e20c9df1cd6a2f07bbc3c9252870ac9
/frameworks/support/paging/common/build.gradle
|
e4741f3c41ac76daa649a15764eb3bd4cac3157c |
|
15-Jul-2017 |
Aurimas Liutikas <aurimas@google.com> |
Remove unused variables in gradle code of AppToolkit. Test: None Change-Id: I7ae166a0058f6ff64e3d27db72ec503120cb5e54
/frameworks/support/paging/common/build.gradle
|
9fd8e6171bbdc37f5516fe15b2d96f4ae926ef1a |
|
23-Jun-2017 |
Chris Craik <ccraik@google.com> |
Initial commit of paging component. This commit introduces a paging component to enable gradual, lazy loading from large data sources, including Room queries. The primary entry points are: 1) CountedDataSource, the base class for defining a countable (i.e. fixed, known size) source of items, such as a Database query. 2) LazyList, the lazy-loading List-like component which pages content in on a background thread from a CountedDataSource. 3) LiveLazyListProvider, the class which produces DataSources, and presents a LiveData<LazyList<T>>. 4) LazyListAdapterHelper, which takes a LiveData<LazyList>, and presents the data simply to an adapter. It computes differences between versions with DiffUtil, and signalling updates to the adapter. Currently, Room only presents a limit-offset query as an easy means to get a LiveData of a LazyList, but it's possible to write a custom data source to page in data from keyed (including composite-keyed) queries. Test: new tests Change-Id: I415879a032d83786d734c26c429828da3b8bc76a
/frameworks/support/paging/common/build.gradle
|