Skip to content
Sample that shows how to apply the Coordinator Pattern on Android
Branch: master
Clone or download
Latest commit 520d1ad May 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

CoordinatorsAndroid

This sample shows how to apply the coordinator pattern on android. Read more here: http://hannesdorfmann.com/android/coordinators-android

Login credentials

username: Hannes password: 123

Logout

Check overflow menu in news list

Video

https://www.youtube.com/watch?v=PfRLZeRLvTo&feature=youtu.be

Why not dagger?

Because it was too much boilerplate in combination with ViewModels from Architecture Components. Nevertheless, the idea of coordinators also totally works with dagger. In this sample I do dependency injection manually. Check AppViewModelFactory.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.