https://github.com/roroche/androidmodularreloaded
A sample Android application to demonstrate how to build screens as fully independent modules.
https://github.com/roroche/androidmodularreloaded
android android-app android-application android-architecture-component android-architecture-components android-components android-development android-library dagger2 dagger2-android daggermock easyflow fragment-backstack fragments fsm independant-modules navigation viewmodel
Last synced: 29 days ago
JSON representation
A sample Android application to demonstrate how to build screens as fully independent modules.
- Host: GitHub
- URL: https://github.com/roroche/androidmodularreloaded
- Owner: RoRoche
- License: apache-2.0
- Created: 2017-07-31T17:09:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T16:50:25.000Z (over 5 years ago)
- Last Synced: 2024-01-14T07:50:47.185Z (over 1 year ago)
- Topics: android, android-app, android-application, android-architecture-component, android-architecture-components, android-components, android-development, android-library, dagger2, dagger2-android, daggermock, easyflow, fragment-backstack, fragments, fsm, independant-modules, navigation, viewmodel
- Language: Java
- Homepage:
- Size: 220 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AndroidModularReloaded
[AndroidModularSample](https://github.com/RoRoche/AndroidModularSample) reloaded!
[](https://android-arsenal.com/details/3/6337)

## Goals
- Use native Android SDK as much as possible (Fragment, ViewModel)
- Support configuration changes## Opportunities
- [Dagger2 Android support](https://google.github.io/dagger//android.html):
- 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](https://github.com/fabioCollini/DaggerMock/) and [FragmentTestRule](https://github.com/21Buttons/FragmentTestRule) libraries## Steps
1. Providing Proper Back Navigation:
2. Set-up Dagger2 for Android
3. Set-up and share EasyFlow though [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel.html#sharing_data_between_fragments)## 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