×

Eric Dand

Eric Dand

    Sample Data Generation

    Written in collaboration with Matt.

    Read More

    Populating a ViewPager

    ViewPager is a support library widget that makes it easy to create multiple pages that can be navigated with a swipe. When used with an action bar, we can create a tabbed UI. As of Mirror 1.3, we can populate a ViewPager with sample data the same way we use a <_content> tag to populate a FrameLayout. Under the hood, Mirror creates fragments and serves them to the ViewPager via a PagerAdapter. To see this in action, we will look at the MirrorMailProject sample that comes with Mirror.

    Read More