Last active
February 25, 2020 12:33
-
-
Save surajme/9bf2cd43fac2f2c9b350af1a88d7bc43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//GET DATA FROM INTENT | |
var intent = intent | |
val name = intent.getStringExtra("Name") | |
val phone = intent.getStringExtra("Phone") | |
//TEXTVIEW | |
val resultTv = findViewById<TextView>(R.id.resultTv) | |
resultTv.text = "Hello "+name+"\nYour Contact no. is : "+phone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment