I have a problem with saving fragment state. I try to use setRetainInstance, but cant make it work((( I change a state to 2 using button1, but after changing screen orientat
Your fragment will only get re-used if you give the fragment an Id in the layout, change
to be