Send the following on WhatsApp
Continue to ChatActivity and Fragments communication | Example code https://tutorial.eyehunts.com/android/activity-and-fragments-communication/
Activity and Fragments communication | Example code https://tutorial.eyehunts.com/android/activity-and-fragments-communication/