How to save fragment state in android?
问题 I have one HomeActivity from where I am calling the list of fragments. In HomeActivity I have sidemenu where all fragments are loaded. Now,in this list i have one fragment called HomeFragment which display the Google Map with data, using webservice. What i want is i want to load the Map dat only once(first time) fragment is loaded, not every time when click on sidemenu or come in from any other fragment. My HomeFragment or any other fragments are loaded at once, not every time. 回答1: You can