About Ecommerce is a sample android application 📱to shopping 🍿using API which is built to demonstrate use of Modern Android development tools. It has been built using kotlin with clean architecture principles and MVP as well as Architecture Components. Dedicated to all Android Developers with ❤️.
The app in itself is a simple shopping app. Clicking the product list item it shows the detail of the product. While this is not an extremely complex app, it isn't a silly Hello World one either, so the hope is that it'll cover regular use cases for a basic application.
- Search the products.
- Buy products.
Please click the image below to enlarge.
- Kotlin - First class and official programming language for Android development.
- Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- GSON - A Java serialization/deserialization library to convert Java Objects into JSON and back.
- GSON Converter - A Converter which uses Gson for serialization to and from JSON.
- Glide - An image loading and caching library for Android focused on smooth scrolling.
- Material Components for Android - Modular and customizable Material Design UI components for Android.
com.example.ecommerce # Root Package
.
├── data # For data handling.
│ ├── model # Model classes
| │ ├── api # Retrofit API for remote end point.
| |
| ├── presenter # Presenter
|
|
├── ui # Activity/View layer
│ ├── main # Main Screen Activity & ViewModel
| │ ├── adapter # Adapter for RecyclerView
This app uses MVP (Model View PRESENTER) architecture.
Don't forget to star ⭐ the repo it motivates me to share more open source