You are given a code block. Arrange the lines in the correct order so that this code runs.
Toast
Correct line order
Report a typo
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"
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.