android - Fragment on addToBackStack("") duplicating values on back press -
i have fragment addtobackstack("")
move when press button. main activity list view double data when press button.
question: why listview (mainactivity) doubling it's value/data on press of , how fix this?
here's code using proceed next fragment , move state.
getfragmentmanager().begintransaction().addtobackstack("sd").replace(r.id.mainlayout, mfragment).commit();
Comments
Post a Comment