Skip to content

Tubbz-alt/android-mvp-architecture-1

 
 

Repository files navigation

android-mvp-architecture

A sample project of Android MVP architecture.

Libraries

In this sample project includes some of useful libraries for Android, such as:

  • Retrofit: A type-safe REST client for Android which intelligently maps an API into a client interface using annotations.
  • Picasso: A powerful image downloading and caching library for Android.
  • ButterKnife: Using Java annotations, makes Android development better by simplifying common tasks.
  • LeakCanary: Catch memory leaks in your apps
  • Material Dialogs: A beautiful, easy-to-use, and customizable dialogs API, enabling you to use Material designed dialogs down to API 8.
  • CircleImageView: A circular ImageView for Android

The Clean Architecture

clean architecture

Before we go through to learn this architecture, I hope you've understand about the Clean Architecture (from Uncle Bob, Dario Miličić, and Android10). This architecture is the simple combination from those references. So, this architecture makes your code:

  • Independent of Frameworks.
  • Testable.
  • Independent of UI.
  • Independent of Database.
  • Independent of any external agency.

Sample API

This project using sample API from My Site

screenshoot

Links, Resources and References

  1. https://github.com/codepath/android_guides/wiki/Must-Have-Libraries
  2. https://github.com/futurice/android-best-practices
  3. https://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html
  4. https://medium.com/@dmilicic/a-detailed-guide-on-developing-android-apps-using-the-clean-architecture-pattern-d38d71e94029#.8b4imw33h
  5. http://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/

About

A simple clean architecture framework for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%