Skip to content
πŸ› A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Branch: master
Clone or download
Latest commit 6f1c8f8 May 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci add circleci May 12, 2019
.idea init Jan 31, 2019
app update package name May 7, 2019
gradle/wrapper upgrade gradle May 7, 2019
.gitignore ignore Jan 31, 2019
README.md Update README.md May 12, 2019
_config.yml Set theme jekyll-theme-slate Jan 23, 2019
build.gradle upgrade gradle May 7, 2019
gradle.properties init Mar 28, 2018
gradlew init Mar 28, 2018
gradlew.bat init Mar 28, 2018
settings.gradle init Mar 28, 2018

README.md

Android MVP Architecture

CircleCI

A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.

Project Structure

Screenshot

The app has following packages:

  1. data: It contains all the data accessing and manipulating components.
  2. ui: View classes along with their corresponding Presenters.
  3. utils: Utility classes.

Key points

  • Using base abstract classes to support MVP methodology while avoiding Activity leaks by releasing the view when it's no longer needed ,BasePresenter repsonsable to destroy the view onDestroy().

Used libraries:

  1. RoomDatabase
  2. ButterKnife
  3. Retrofit
  4. PowerPreference
  5. Gson
  6. Picasso
  7. Mockito

Feel free to submit any type of issues and suggestions for improving the coding standard

Happy Coding!!!


License

   Copyright (C) 2018 Ali Asadi
   Licensed 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 at

       http://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!

You can’t perform that action at this time.