I have an Activity with Actionbar and three Tabs, in each Tab a different Fragment is loaded and in each fragment of that I have a form. When I finish filling out all three forms, when I tap the save button I want to be able to retrieve the information for each fragment and persist in SQLite.
My question is how do I access the fields of each fragment.
I've tried using
Fragment1 detalhes = (Fragment1) fragmentManager.findFragmentByTag("frag1");
but only works to retrieve the field in the current fragment. How do I recover from everyone?