I have two fragments and one activity + Main Activity
- 1st Fragment where new intent is created that calls the Activity
- Activity that is called by above mentioned intent. I want to pass data here
- 2nd Fragment from where I want to get Strings from textviews and pass the results to Activity mentioned above
so the fragment that has intent does not contain the information that I want to pass, but another fragment contains, that does not have intent.
The one solution I see is to incorporate 1st Fragment and Activity Code into MainActivity but in this case, I have to copy all my code there.
Is there any other solution?