MVP-Architecture-Pattern is a simple sample Android application built with Kotlin, implementing the MVP architecture to display a product list.
MVP-Architecture-Pattern - Demo
- Kotlin: The primary programming language for Android development.
- MVP Architecture: Model-View-Presenter architecture for better separation of concerns.
- Retrofit 2: A type-safe HTTP client for Android and Java for making API calls.
- OkHttp 4: A networking library for handling HTTP requests and responses.
- Bottom Navigation Component: A component for easily implementing bottom navigation in your app for quick access to top-level destinations.
- Repository Pattern: A design pattern that acts as an intermediary between the data source and the application. It abstracts the data access logic and provides a clean API for data operations, promoting separation of concerns and enhancing code maintainability.
- Display a list of products retrieved from an API.
- Utilize best practices in Android development with MVP architecture.
- Efficient network calls using Retrofit and OkHttp.
- Asynchronous data handling using two different methods: Coroutines and Callbacks.