Tuesday, 15 May 2012

Handling multiple instances of same fragment - android? -



Handling multiple instances of same fragment - android? -

scenario :

i need create tabs/with fragment, , populate views within each fragments dynamically. user can navigate within each fragment depending on server response.

now trying setting same fragment tabs , passing different model info according tab content. working. when need show details page within tab 1 time again showing same fragment new data. makes issues (view mix up) on other tabs since container same.

can suggest flow using single fragment new views , need pop out backstack also.

android android-fragments

No comments:

Post a Comment