这种问题该怎么解决,不想用replace。
走同样的路,发现不同的人生
replace requires addToBackStack add and hide, then the fragment still exists, so addToStack is not needed. I don’t know if my understanding is correct.
How many fragments are there
viewpager sets the number of cached interfaces, setOffscreenPageLimit
replace requires addToBackStack add and hide, then the fragment still exists, so addToStack is not needed. I don’t know if my understanding is correct.
How many fragments are there
viewpager sets the number of cached interfaces, setOffscreenPageLimit