https://github.com/euantorano/compose-paging-with-search-example
An example of a Compose app using androidx.paging with live search results.
https://github.com/euantorano/compose-paging-with-search-example
android-app compose paging3
Last synced: about 1 month ago
JSON representation
An example of a Compose app using androidx.paging with live search results.
- Host: GitHub
- URL: https://github.com/euantorano/compose-paging-with-search-example
- Owner: euantorano
- Created: 2022-10-23T18:26:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T18:32:02.000Z (over 3 years ago)
- Last Synced: 2024-12-30T21:31:55.279Z (over 1 year ago)
- Topics: android-app, compose, paging3
- Language: Kotlin
- Homepage: https://www.euantorano.co.uk/posts/2022/11/06/searching-paged-data-jetpack-compose/
- Size: 103 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example: Compose Paging With Search
This repository holds an example of using [andoridx.paging](https://developer.android.com/jetpack/androidx/releases/paging) with a [Compose](https://developer.android.com/jetpack/compose) app to provide live search results.
The interesting part is in found in [`ProductListViewModel`](app/src/main/java/uk/co/euantorano/example/compose_paging/ui/view_models/ProductListViewModel.kt) where the pager is configured.