Search code examples
androidkotlinandroid-jetpack-composewear-osandroid-jetpack-compose-material3

What is the equivalent of the Confirmation composable on Jetpack Compose for mobile


I have been using the confirmation composable in my Wear OS app for some time and I am now working on porting the app to mobile. What is the best equivalent for the confirmation composable on mobile compose as shown on this page

I haven't found anything for mobile that matches the confirmation composable on Wear OS compose


Solution

  • I decided to use toasts in my mobile UI. To show a toast:

    Toast.makeText(context, "The message you want to display", Toast.LENGTH_LONG).show()