Đinh Văn Đức
New member
How do you communicate with fragments?
Answer
Communicating with fragments
Answer
Communicating with fragments
- Table of contents.
- Share data using a ViewModel. Share data with the host activity. Share data between fragments.
- Get results using the Fragment Result API. Pass results between fragments. Pass results between parent and child fragments. Receive results in the host activity.