https://github.com/oblakr24/flowrspot
A demonstration app for fetching a list of flowers with a given search criterion. Written in Kotlin in an MVVM architecture. Uses the new lifecycle components' paging library to support seamless paging with endless RecyclerView scrolling.
https://github.com/oblakr24/flowrspot
Last synced: 3 months ago
JSON representation
A demonstration app for fetching a list of flowers with a given search criterion. Written in Kotlin in an MVVM architecture. Uses the new lifecycle components' paging library to support seamless paging with endless RecyclerView scrolling.
- Host: GitHub
- URL: https://github.com/oblakr24/flowrspot
- Owner: oblakr24
- Created: 2018-06-10T19:29:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-10T20:49:50.000Z (almost 7 years ago)
- Last Synced: 2025-01-23T19:25:55.210Z (4 months ago)
- Language: Kotlin
- Homepage:
- Size: 2.91 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlowrSpot
A demonstration app for fetching a list of flowers with a given search criterion.
Written in Kotlin in an MVVM architecture.
Uses the new lifecycle components' paging library to support seamless paging with endless RecyclerView scrolling.Uses Retrofit with Moshi for JSON parsing and a Coroutine call adapter factory to transform Retrofit calls into Kotlin coroutine Deferreds.
Since the REST API (currently) only has data for the first page, there are two build variants (besides the unsigned release variant):
- debug: uses a wrapper service that creates fake data for all requests on a set number of subsequent pages to enable pagination
- debug_realdata: directly calls the API without any data modification