I am trying to know how many ways are there to pass the data between two fragments let's say from an Edit Text in one Fragment to a Text View in other Fragment.
I know two ways:
- First one is using the intent.
- Second is using the arguments in navigation.
Are there more ways to send data between two fragments and which one is more better and efficient and why ?
If anybody has any knowledge about this please tell.