It's no a bug It's just give specific ID's I made a stack question http://stackoverflow.com/questions/38615298/solved-reuse-of-same-layouts-inside-one-layout-using-multiple-includes-tabla I enter in this problem and found the answear here This Thread was very helpful I hope it will give many ideas for many people :)
sexta-feira, 14 de Setembro de 2012 às 14:25:15 UTC-3, Jethro Borsje escreveu: > > Hi fellow devs, > > I'm building an app using the v4 support library. My app has an activity > which contains a grid of 4 ViewPagers ( > http://developer.android.com/reference/android/support/v4/view/ViewPager.html) > > which in turn contain 3 fragments through which the user can swipe. My > problem is that each of the 3 fragments inside the ViewPagers is > instantiated exactly once instead of once per ViewPager (i.e. 3 fragment > instances instead of 12). For example: in the screenshot bellow I would > expect 3 instances of the TableFragment and one instance of the > BarChartFragment but I get only one instance of the TableFragment and one > instance of the BarChartFragment. I feel this is a bug in the support > library, does anybody know if this is the case or might something else be > wrong? > > Best regards, > Jethro Borsje > > http://www.jborsje.nl > > > <https://lh6.googleusercontent.com/-rbUJyg2qimc/UFNng6GfaCI/AAAAAAAAQOM/3rh8nLmdkEs/s1600/tablet-ui.png> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/d33440a6-1304-4fb3-9b93-e68ebe1217ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

