Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janishar/android-mvp-interactor-architecture
Extension of the android-mvp-architecture for very large projects.
https://github.com/janishar/android-mvp-interactor-architecture
android-debug-database android-mvp-architecture blueprint dagger fast-android-networking greendao interactor mindorks mvp placeholderview rxjava
Last synced: about 21 hours ago
JSON representation
Extension of the android-mvp-architecture for very large projects.
- Host: GitHub
- URL: https://github.com/janishar/android-mvp-interactor-architecture
- Owner: janishar
- License: apache-2.0
- Created: 2017-07-20T15:57:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T15:07:42.000Z (11 months ago)
- Last Synced: 2024-08-04T14:10:55.943Z (5 months ago)
- Topics: android-debug-database, android-mvp-architecture, blueprint, dagger, fast-android-networking, greendao, interactor, mindorks, mvp, placeholderview, rxjava
- Language: Java
- Size: 1.14 MB
- Stars: 405
- Watchers: 31
- Forks: 97
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-complete-reference - Android MVP Interactor - A complete android project based on MVP architecture enhanced with Interactors and Repositories. (Uncategorized / Uncategorized)
README
[![Deprecated](https://img.shields.io/badge/deprecated-yes-red)](https://github.com/janishar/wimm-android-app)
---
# This Project is [Deprecated] goto latest project: [Modern Android Development - WhereIsMyMotivation](https://github.com/janishar/wimm-android-app)
---# Deprecated
### Android MVP Architecture: Enhanced with Interactors and Repositories: Sample AppThis repository is an extension of the [android-mvp-architecture](https://github.com/MindorksOpenSource/android-mvp-architecture). It breaks the DataManager into Interactors and DbHelper into Repositories. These changes makes it fit for very large projects, for smaller projects the above mentioned repository is better.
This repository contains a detailed sample app that implements MVP architecture enhanced with Interactors and DbRepositories for complete decoupling, using Dagger2, GreenDao, RxJava, FastAndroidNetworking, PlaceHolderView and AndroidDebugDatabase
# Architecture Blueprint
![Blueprint](https://janishar.github.io/images/mvp-app-pics/mvp-interactor-arch.png)# Project Structure
![Structure](https://janishar.github.io/images/mvp-app-pics/mvp-interactor-project-structure.png)
# About The Author
You can connect with me here:
* [Janishar Ali](https://janisharali.com)
* [Twitter](https://twitter.com/janisharali)
* [YouTube Channel](https://www.youtube.com/@unusualcode)# Read the below listed articles. They describe the MVP concepts and the Project structure.
1. [Android MVP Architecture Extension with Interactors and Repositories](https://blog.mindorks.com/android-mvp-architecture-extension-with-interactors-and-repositories-bd4b51972339)
2. [MVP: Part 1](https://blog.mindorks.com/essential-guide-for-designing-your-android-app-architecture-mvp-part-1-74efaf1cda40#.lkml1yggq)
3. [MVP: Part 2](https://blog.mindorks.com/essential-guide-for-designing-your-android-app-architecture-mvp-part-2-b2ac6f3f9637#.dge0wl8rl)
4. [MVP: Part 3](https://blog.mindorks.com/essential-guide-for-designing-your-android-app-architecture-mvp-part-3-dialog-viewpager-and-7bdfab86aabb)#### The app has following packages:
1. **data**: It contains all the data accessing and manipulating components.
2. **di**: Dependency providing classes using Dagger2.
3. **ui**: View classes along with their corresponding Presenters and Interactors.
4. **service**: Services for the application.
5. **utils**: Utility classes.#### Classes have been designed in such a way that it could be inherited and maximize the code reuse.
# Read the below listed articles. They describe the MVP concepts and the Project structure.
1. [MVP: Part 1](https://janisharali.com/blog/essential-guide-for-designing-your-android-app-architecture-mvp-part-1-74efaf1cda40#.lkml1yggq)
2. [MVP: Part 2](https://janisharali.com/blog/essential-guide-for-designing-your-android-app-architecture-mvp-part-2-b2ac6f3f9637#.dge0wl8rl)
3. [MVP: Part 3](https://janisharali.com/blog/essential-guide-for-designing-your-android-app-architecture-mvp-part-3-dialog-viewpager-and-7bdfab86aabb)
4. [Extension with Interactors and Repositories](https://janisharali.com/blog/android-mvp-architecture-extension-with-interactors-and-repositories-bd4b51972339)#### The app has following packages:
1. **data**: It contains all the data accessing and manipulating components.
2. **di**: Dependency providing classes using Dagger2.
3. **ui**: View classes along with their corresponding Presenters.
4. **service**: Services for the application.
5. **utils**: Utility classes.#### Classes have been designed in such a way that it could be inherited and maximize the code reuse.
### Library reference resources:
2. Dagger2: https://github.com/janishar/android-dagger2-example
4. PlaceHolderView: https://github.com/janishar/PlaceHolderView
6. Calligraphy: https://github.com/chrisjenx/Calligraphy
7. GreenDao: http://greenrobot.org/greendao/
8. ButterKnife: http://jakewharton.github.io/butterknife/### Concept reference resources:
1. [Introduction to Dagger 2: Part 1](https://janisharali.com/blog/introduction-to-dagger-2-using-dependency-injection-in-android-part-1-223289c2a01b#.ki6nt86l6)
2. [Introduction to Dagger 2: Part 2](https://janisharali.com/blog/introduction-to-dagger-2-using-dependency-injection-in-android-part-2-b55857911bcd#.mkpzyk8sa)
3. [Android Dagger2: Critical things to know before you implement](https://janisharali.com/blog/android-dagger2-critical-things-to-know-before-you-implement-275663aecc3e#.bskiz1879)
4. [Android Tinder Swipe View Example](https://janisharali.com/blog/android-tinder-swipe-view-example-3eca9b0d4794#.u7i7jbbvy)
5. [RxJava Anatomy: What is RxJava, how RxJava is designed, and how RxJava works.](https://janisharali.com/blog/rxjava-anatomy-what-is-rxjava-how-rxjava-is-designed-and-how-rxjava-works-d357b3aca586)
6. [Powerful Android ORM: greenDAO 3 Tutorial](https://blog.mindorks.com/powerful-android-orm-greendao-3-tutorial)### How do I use this project?
This is a boilerplate project aimed to help bootstrap new Android MVP Applications. Feel free to fork this application or use [AndroidStarters](http://androidstarters.com/) to create new app using this boilerplate.### License
```
Copyright (C) 2023 JANISHAR ALI ANWARLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```### Contributing to Android MVP Architecture
Just make pull request. You are in!