SharedViewModel
A simple example of SharedViewModel implementation in Java. We can pass/share data between fragment using this approach.
For reference:
https://developer.android.com/topic/libraries/architecture/viewmodel#sharing
https://blog.mindorks.com/shared-viewmodel-in-android-shared-between-fragments