Friday, 15 June 2012

Android FragmentTransactions and Memory consideration -



Android FragmentTransactions and Memory consideration -

in application have 1 single activity , aaround 50 - 60 fragments replace next code

getfragmentmanager() .begintransaction() .replace( r.id.main, fragment.instantiate(loadingscreen.this, "com.myapp.fragments." + fragments[0], bundle)).commit();

now happens fragment been replaced ? android destroy of contents ? have destroy contents of fragment myself? secondly, have , forwards navigation buttons in app (not android button), create sense add together fragment stack myself , check next time need ? illustration of ?

thank you.

android

No comments:

Post a Comment