This repository contains a couple of Android Development examples in Kotlin language. The following topics are covered:
- MVP Architecture
- Dependency injection with Dagger2
- Creating network requests with Retrofit
- Persisting data with Room Persistence Library
- Using RxJava2 to handle data flow
- Offline first approach
- Fragment shared element transitions
- Infinite RecyclerView with pagination
- Delegate Adapter pattern for showing multiple view types in an Adapter
- Unit testing each layer of the app
- Testing Room database
- Shared element transitions with CoordinatorLayout and CollapsingToolbar
- UI testing with Espresso
To build the the project you need Android Studio 3.0 or change the Gradle plugin to an older version.
Related Medium article:
https://blog.mindorks.com/how-to-make-complex-requests-simple-with-rxjava-in-kotlin-ccec004c5d10