There are many fragments, for example, take test and test2 .
I called test , in which there is a ListView , by clicking on which the add item window opens ( fragmentadd ), but before showing fragmentadd , I set all test elements in the test fragment to enadled = false - i.e. they became inactive.
In fragmentadd entered the name and clicked OK - now I need to unlock all the elements of the test fragment. Unlocked, like by clicking on the OK button, I got a snippet:
getFragmentManager().findFragmentByTag(getString("test)); I received it View and set it already enadled = true , but other fragments also apply to the fragmentadd fragmentadd - there are 20 of them. Can't I look for 20 other fragments while I'm alone?
I wanted to pass either setArguments() or a fragment, or its getView() , but it did not work out.
Tell me, how can I send a link to it or its getView() in the fragment?