Skip to content

Solution without duplicating library source code #2

@timrae

Description

@timrae

Hi I found your blog from Google, but I didn't really like the idea of maintaining a separate FragmentStatePagerAdapter. A simpler solution is to use FragmentPagerAdapter instead, and override the getItemId() and getItemPosition() methods.

See here for some source code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions