368e82c2afbe04c7d113eeed6deb901debae0272 |
|
13-Feb-2018 |
Chris Craik <ccraik@google.com> |
Add initial rxjava2 support to Paging Adds RxPagedListBuilder to provide Observable<PagedList> and Flowable<PagedList>. Fixes: 75977346 Test: manually ran RoomPagedListRxActivity Test: RxPagedListTest Test: ./gradlew runBuildServerCompilationTasks Change-Id: I7f4a83a0f64ed6938afb40a7de5ac70a951b3cfd
/frameworks/support/paging/common/build.gradle
|
ba069d50913c3fb250bb60ec310439db36895337 |
|
09-Mar-2018 |
Alan Viverette <alanv@google.com> |
DO NOT MERGE. Migrate app-toolkit projects to androidx Bug: 74405443 Test: ./gradlew createArchive Change-Id: Iae6f83cc396dbcdc5ae2a98793e9c7c61d94367e
/frameworks/support/paging/common/build.gradle
|
b7a0b6ffed669700e4a06ee953aff46034efa0a3 |
|
15-Mar-2018 |
Chris Craik <ccraik@google.com> |
Revert "Switch paging to prebuilts of arch components" This didn't work. This reverts commit 7036b1e96d72ecaf5097beb5006597d5f66f9aa0. Change-Id: I19fdd00cf4838c24d430d64f8d4e31c1f48f9b89
/frameworks/support/paging/common/build.gradle
|
7036b1e96d72ecaf5097beb5006597d5f66f9aa0 |
|
02-Mar-2018 |
Chris Craik <ccraik@google.com> |
Switch paging to prebuilts of arch components Bug: 74118020 Test: ./gradlew runBuildServerCompilationTasks Test: tests in paging-common, paging-runtime, room-integration-tests:testapp Change-Id: I4180ff8a97dbeb8368929809c52127cad96bedfa
/frameworks/support/paging/common/build.gradle
|
526389b5eb93f99eaf4dba0b0c75b0b7df9a0f65 |
|
27-Feb-2018 |
Aurimas Liutikas <aurimas@google.com> |
Move buildSrc classes to androidx.build package. Test: ./gradlew assembleDebug for support and flatfoot projects Change-Id: I9ecada2082209e46058dbce453d7222d3999c925
/frameworks/support/paging/common/build.gradle
|
cdcbdb02985e169d7c268a657d3d24d65b05ec02 |
|
29-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Migrate the rest of the dependencies to Kotlin. Test: ./gradlew tasks in both support and app-toolkit Change-Id: I39a43e4dd6ec19296ae8a9c93f2010a3b0a44c7d
/frameworks/support/paging/common/build.gradle
|
81b5bac70497d6306beec14e3e439fbed1a80fb2 |
|
28-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Move most app-toolkit dependencies to kotlin. Test: ./gradlew tasks in app-toolkit project. Change-Id: I0e82fd35251251e3401c9d39d0d6576d2651b323
/frameworks/support/paging/common/build.gradle
|
f4ec12f795694f62ffccd0dae7e537a3cd270319 |
|
22-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Make build.gradle files even more kotlin script friendly. Test: ./gradlew tasks Change-Id: Ia6f61f61fef1733e990b95cdfde26a95d9091ab5
/frameworks/support/paging/common/build.gradle
|
c39b4bda17daa49685c72de9e67ec44ebc04933b |
|
17-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Adding ktlint hook to support library. Additionally, this remove custom gradle tasks to run checkstyle since this will be handle by repo upload now. Test: Locally Change-Id: I8ae6c9eb64680033d750bdf0d8312dd695722ff4
/frameworks/support/paging/common/build.gradle
|
78c1ab769dfe503ffd0b25cb998db80202a1bfcb |
|
08-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Move to setting maven version via SupporLibrary extension. Test: ./gradlew createArchive Change-Id: Ifa145712bc3b68ef561d8d7f9e21e97c79b705d1
/frameworks/support/paging/common/build.gradle
|
7f40a7ef7894666df581acf8228e86f00569ab92 |
|
28-Oct-2017 |
Aurimas Liutikas <aurimas@google.com> |
Move setting maven group directly to each build.gradle. Test: ./gradlew buildOnServer Change-Id: If83e8d3d4bb8c9dd260f65c3898b6f0fa8ffc524
/frameworks/support/paging/common/build.gradle
|
ea5ee82cc9a962324db73b19df161724c0c4a96b |
|
06-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Move to Kotlin friendly supportLibrary extension calling. Test: None Change-Id: I317174fb90b440ce036230d604d81343f32c4cfb
/frameworks/support/paging/common/build.gradle
|
f8b708aca586e946adad0bc3022b0c199224c07f |
|
03-Nov-2017 |
Aurimas Liutikas <aurimas@google.com> |
Merge Flatfoot and Support library plugins - Moves the Android Library project setup into one place - Add an option for legacy source paths (support lib projects) - Enables error-prone for flatfoot projects. - Removes verbose setup of flatfoot android libraries - Moves to referencing plugins via new plugins { id("foo") } api. Test: ./gradlew assemble for both projects Change-Id: I4dab611740353b0825d892169e9e7a96d900796b
/frameworks/support/paging/common/build.gradle
|
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
|