Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Copy-paste Room LimitOffsetPagingSource.kt and associated files https://github.com/androidx/androidx/tree/androidx-main/room/room-paging/src/main/java/androidx/room/paging * Don't limit to library scope * Remove unnecessary constructor * Remove unused argument * Remove usages of getQueryDispatcher * Remove usages of androidx.room.withTransaction * Remove usage of app.cash.sqldelight.paging3.util.queryItemCount * Rename Value to RowType to align with SQLDelight * Pass in a QueryProvider and then remove all fluff * Put queryDatabase within LimitOffsetPagingSource * Use QueryPagingSource as the invalidater * Simplify * Copy-paste tests from AndroidX * Fix test compilation * Spotless * Update extensions/android-paging3/src/test/java/app/cash/sqldelight/paging3/WithPagingDataDiffer.kt Co-authored-by: Niklas Baudy <niklas.baudy@vanniktech.de> * Update extensions/android-paging3/src/test/java/app/cash/sqldelight/paging3/WithPagingDataDiffer.kt Co-authored-by: Niklas Baudy <niklas.baudy@vanniktech.de> * Apply suggestions from code review Co-authored-by: Niklas Baudy <niklas.baudy@vanniktech.de> * Make the artifact a JVM one again Co-authored-by: Niklas Baudy <niklas.baudy@vanniktech.de>
- Loading branch information