This project is about some practices to pass data among fragments. Three Ways are listed here
- With Interface
- With ViewModel
- with EventBus
This project is supposed be a tutorial. It shows you some cool ways to pass data in your app's screens and services. You can also read about this on Medium.
- With Interface Passing data between fragments using interface.
- With EventBus Passing data between fragments using EventBus.
- With ViewModel Passing data between fragments using ViewModel.
- Kotlin - First class and official programming language for Android development.
- LiveData - Data objects that notify views when the underlying database changes.
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- EventBus - A publish/subscribe event bus for Android and Java.
- SurajKGoyal