Skip to content

A sample Android application to demonstrate how to build screens as fully independent modules.

License

Notifications You must be signed in to change notification settings

RoRoche/AndroidModularReloaded

Repository files navigation

AndroidModularReloaded

AndroidModularSample reloaded!

Android Arsenal

logo

Goals

  • Use native Android SDK as much as possible (Fragment, ViewModel)
  • Support configuration changes

Opportunities

  • Dagger2 Android support:
    • Keep in mind that Android framework classes are instantiated by the OS itself
    • The type requesting injection doesn't need to know about its injector anymore
  • Android Architecture Components to build lifecycle-aware components
  • Unit test Fragment(s) from modules with the convenient DaggerMock and FragmentTestRule libraries

Steps

  1. Providing Proper Back Navigation: https://developer.android.com/training/implementing-navigation/temporal.html
  2. Set-up Dagger2 for Android
  3. Set-up and share EasyFlow though ViewModel

Logo credits

Arrows graphic by roundicons from Flaticon is licensed under CC BY 3.0. Check out the new logo that I created on LogoMaker.com