AnsweredAssumed Answered

how to maintain fragment in a activity?

Question asked by parcool on Mar 16, 2017
Latest reply on Mar 22, 2017 by ANohe-esristaff

My design is there are 4 fragments in a activity with a page-controler align the bottom.two of them with map.

The question is:

1、use hide show fragment function:if i click the button of page-controler which with map,the previous map could be see in the new fragment and the map in new fragment can't be see,but it should be loaded because the data is print in logcat.so the new fragment can't handle my touch listener;

2、use replace fragment function it works,but it will reload without cache each click...

Outcomes