SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Get Familiar with Jetpack Compose Flows Component by a Wizard-Generated Application

Understand the capabilities and usage of Jetpack Compose Flows component using the application generated by SAP BTP SDK Wizard for Android.

Overview

You will learn

  • ✔How to import Jetpack Compose Flows component into the application project
  • ✔How Jetpack Compose Flows APIs are used in wizard-generated applications
  • ✔Which screens are provided by the Jetpack Compose Flows component The Jetpack Compose Flows component is a new feature of the SAP BTP SDK for Android as of version 6.0. Compared to the view-based version of Flows, the Compose version has the same concept and functionality, so your current project structure does not require any changes. We have also made some enhancements to make it more flexible and easy to use. See Jetpack Compose Flows Component of SAP BTP SDK for Android for an overview.
Haoyue Feng H Haoyue Feng August 21, 2026
Created on May 8, 2024
Contributors

More from Haoyue Feng

See all 12 tutorials by Haoyue Feng →

Prerequisites

Steps

Details

You will learn

  • How to import Jetpack Compose Flows component into the application project
  • How Jetpack Compose Flows APIs are used in wizard-generated applications
  • Which screens are provided by the Jetpack Compose Flows component

The Jetpack Compose Flows component is a new feature of the SAP BTP SDK for Android as of version 6.0. Compared to the view-based version of Flows, the Compose version has the same concept and functionality, so your current project structure does not require any changes. We have also made some enhancements to make it more flexible and easy to use. See Jetpack Compose Flows Component of SAP BTP SDK for Android for an overview.


Step 1 Examine the dependencies of the Jetpack Compose Flows component
—

  1. Open the project you previously created using the SAP BTP SDK Wizard for Android.

  2. Press Shift twice and type build.gradle to open the build.gradle file of the app module.

  3. Go to the dependencies section and find the dependency declaration for the Compose version of Flows. onboarding-compose contains the UI screens and flows-compose contains the Compose version of the Flows API and logic.

    !

    JC app gradle file
    JC app gradle file

Step 2 Explore the usage of the Compose version of Flows API in a wizard-generated application
+
Step 3 UI screens of the Flows component in a wizard-generated application
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 3
1. Examine the dependencies of the Jetpack Compose Flows component 2. Explore the usage of the Compose version of Flows API in a wizard-generated application 3. UI screens of the Flows component in a wizard-generated application