Additional data

Report a typo

Add a String called phoneNumber with a key number to the Intent to pass it to the next activity.

val phoneNumber = "+1-202-555-0169"

val intent = Intent(this, NextActivity::class.java)
//Your code line should be here
startActivity(intent)
Enter a short text
___

Create a free account to access the full topic