Changing text from another activity
You should use Android Architecture Components :
You can create a ViewModel containing LiveData of your data object (LiveData<String>
in case you want to change only text).
When you will change your live data object from one Activity
or Fragment
all other Activities and Fragments observing for this live data object will get notified.