I have two activities: main activity and child activity.
When I press a button in the main activity, the child activity is launched.
Now I want to send some dat
Another way of achieving the desired result which may be better depending on your situation is to create a listener interface.
By making the parent activity listen to an interface that get triggered by the child activity while passing the required data as a parameter can create a similar set of circumstance