- I am doing an Android application with several tabs, let say that have 2 tabs. One tab is an "android.support.v4.app.Fragment" that contains a few textfields and a button, and the other one is an "android.app.Fragment" that at the same time is a MapFragment.
- The thing is that the first tap calls another "android.support.v4.app.Fragment" with cardview (also support) and they can be navigate between them with some hierarchy.
- Now if first a click in the map tap, later on click the other tab and finally I click the button to go to the frame that contains cardviews, I can see these them but in the background I see also the MapFragment.
- I don't know how to solve this. I have tried to use replace, remove, add, popBackStack, ... In addition I had tried to delete from the rootview the frame of the fragment, but nothing happened.
- The fact is I am going to throw your laptop out the window.
Thanks in advance!