Correct line order

Report a typo

You are given a code block. Arrange the lines in the correct order so that this code runs.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                val toast = Toast.makeText(applicationContext, text, Toast.LENGTH_SHORT)
              
                toast.show()
              
                val text = "Your battery is low"
              
___

Create a free account to access the full topic