Skip to content

Common Android Architect apply RxJava: MVP-Java, MVVM, MVP-Kotlin and templates for each.

Notifications You must be signed in to change notification settings

daolq3012/Structure_Android

Repository files navigation

Structure_Android

CircleCI License: CC BY 4.0

A Project common structure on Android used based on googlesamples/android-architecture & googlesamples/android-architecture-components :

  • Create 4 architect MVP, MVVM, MVP-Kotlin, Android-architecture-components and templates for each.
  • This Project demo request API search user github and show result using retrofit
  • Using Reactive library: RxJava,RxAndroid

1. MVP

Diagram:

alt text

Source Code

Branch: mvp-architecture

2. MVVM

The same MVP structure in this MVVM structure ViewModel as a Presenter in MVP Diagram:

alt text

Source Code:

Branch: mvvm-architecture

3. MVP-Kotlin

Diagram:

alt text

Source Code

Branch: mvp-kotlin-architecture

4. Android-architecture-components

TBD

Code style

☑ TODO

  • Add MVP Examples
  • Add MVVM Examples
  • Add MVP-Kotlin Examples
  • Add Android-architecture-components Examples
  • Update documentation for each
  • Add test UI using selendroid (BDD technical)
  • Add test UI using Calabash (BDD technical)

👬 Contribution

The Example are built using Android studio

  • Open pull request with improvements
  • Discuss ideas in issues
  • Spread the word
  • Reach out to me directly at [email protected]

License

The content of this project itself is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0)

About

Common Android Architect apply RxJava: MVP-Java, MVVM, MVP-Kotlin and templates for each.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •