I think if we want, we could also achieve it through MVVM pattern. The approach used here is an MVP pattern that helps coordinate the views creation. Hence it is not really specifically replace MVP or MVVM, but making it more closely resemble iOS way of doing things (using Coordinator), while still take care of Android need of state restoration.

The whole idea is no longer sending Data through as the interim communication, but sending View through as the interim communication, which is something rarely occurs in Android framework today.

Written by

Passionate about learning, and sharing mobile development and others https://twitter.com/elye_project https://www.facebook.com/elye.proj

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store