I have an activity that contains several edit texts and a view pager And inside the view pager there are some text edits
Now, I want when the user fills the form inside the activity and the form inside the fragment, all the information will be transferred to the server by prenter image description hereessing one button.
The problem is that the button is in the main activity and I don't have access to edit the texts inside the fragment
What should I do ???