Switching between Fragments in a single Activity

后端 未结 3 2003
清酒与你
清酒与你 2021-02-03 10:12

I want to create an Activity which shows a sort of menu a user can go through. By clicking an item, a new screen is shown, allowing the user more options (wizard-li

3条回答
  •  Happy的楠姐
    2021-02-03 10:57

    Another option is to use the Android-WizardPager by Roman Nurik.

    Key features:

    • Branching, or the ability for wizard steps to influence the availability of later steps
    • Allowing the user to review before committing
    • Allowing the user freeform navigation between wizard steps
    • Support for required and optional steps
    • Support for step classes (technically, each step is an instance of a Java class, so you can have multiple instances within the wizard)

    More info here.

提交回复
热议问题