<Display the message entered by the user on next s...
# stackoverflow
u
Display the message entered by the user on next screen using kotlin How to make an Edit Text on a screen so that when we press the send button it will display the message typed by user on next screen inside a text view. I tried the following code but it gives an error message as unresolved reference: intent2. I created two activities and named them as MainActivity.kt and MessageActivity.kt and their respective layout files as activity_main.xml and activity_message.xml . 2.Inside the activity_main.xml file I made an EditText view whose id is etMessage is and a...