Re: [android-developers] ViewPager pages not drawn

2014-12-20 Thread Doug Gordon
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

Re: [android-developers] ViewPager pages not drawn

2014-12-20 Thread Kostya Vasilyev
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 /

Re: [android-developers] ViewPager pages not drawn

2014-12-20 Thread Doug Gordon
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