Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
        .setAction("Action", null).show()

      Kotlin language logo
      Snackbar

      Kotlin recipes

      The code creates a snackbar with the title "Replace with your own action" and an action button. When the user clicks the action button, the snackbar will show the user the code for replacing the snackbar with their own action.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.