Create Your Own Flow
Intermediate
20 min.
Learn how to create your own flow with the framework provided by Jetpack Compose Flows component of SAP BTP SDK for Android.
You will learn
- How to create your own flow
- How to add flow steps to your own flow
Prerequisites
- You have Set Up a BTP Account for Tutorials. Follow the instructions to get an account, and then to set up entitlements and service instances for the following BTP services.
- SAP Mobile Services
- You completed Get Familiar with Jetpack Compose Flows Component by a Wizard Generated Application.
- You completed Customize the Jetpack Compose Onboarding Flow.
- You completed Handle Passcode with JetPack Compose Flows Component.
- You completed Restore, Reset and Logout Applications Using JetPack Flows Component.
Besides the pre-defined flows described in the previous tutorials, the flows component also provides a framework for the client code to create its own flow. Typically, a flow consists of several flow steps, and also it might also include other flows as sub-flows. The Flows framework provides flexible ways for the client code to create a customized flow:
- The client code can create its own flow steps and then create a flow with the combination of the steps.
- The client code can create a flow with some single flow steps or combine sub-flows to create a customized flow.
- The client code can define the navigation logic for a customized flow.