Android Question Nested ViewPagers?

klarsys

Active Member
Licensed User
Longtime User
Can I have nested view pagers?

Here is the usecase:
  • Main activity shows multiple image albums using a view pager.
  • Each album shows images through a nested view pager.
  • Album details cover top 25% of activity area. Slide gesture in this area switches between albums.
  • Individual images are shown in bottom 75% of activity area. Slide gesture in this area switches between images of current album.
Is it possible to nest view pagers?
If not view pager, what is the best (read simplest) way to achieve this?

Thanks!
 
Top