Kostya, I have done that and what I am seeing is the background of the
ViewPager, but not my fragments' views. I set a breakpoint so I could go
back into the ViewPager, and examining its data structure I find that not
only does its mItems array contain my instantiated fragments, but also the
Ok, so the items are there and the views are there.
What I would do at this point is check the attributes (data) of those views:
- Their positions and sizes
- Visibility
- Animation state
- Translation / scaling
- Scroll positions
Or I would try to debug into the view pager's onMeasure /
SOLVED! After tracing the execution through ViewPager and
FragmentPagerAdapter and trying to explain the very strange behavior I was
seeing, I eventually discovered that when I wrote my fragments extending
Fragment and ListFragment a long time ago, I had added a getView() method
that was
3 matches
Mail list logo