A Photo list sample that retrieves pictures from Pixabay site
- The application supports both portrait and landscape mode
- The user is able to search for images entering a search term with at least 3 characters
- When the app starts it triggers a search for the string "flowers"
- When an item in the result list gets clicked, a new detail screen will be opened
- Kotlin
- Clean Architecture: An app using layered architecture based on Clean Architecture by Uncle Bob.
- Retrofit: To retrieve data from the network
- Architecture components and using MVVM: LiveData and ViewModel
- Paging library: Using PagedList to fetch more data from network.
- Navigation component: At last it's settled, single activity is what's Google recommend now. Navigation editor makes things easy for us to design navigation path of our app.
- Dagger 2: Using Dependency injection to manage the dependencies in an optimal way.
- Glide: To view images from the network
Library reference resources:
- Dagger2: GitHub - google/dagger: A fast dependency injector for Android and Java.
- Retrofit: GitHub - square/retrofit: Type-safe HTTP client for Android and Java by Square, Inc.
- RxJava2: GitHub - ReactiveX/RxJava: RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
- Constraint-Layout: Build a Responsive UI with ConstraintLayout | Android Developers
- Glide: An image loading and caching library for Android focused on smooth scrolling