Data is attached to an intent using:
- addData()
- putExtra()
- setText()
- sendData()
Answer
B) putExtra()
putExtra(key, value) adds extras to the intent.
Computer Science MCQ · More Lab: Multiple Activities and Navigation MCQs · Practise
B) putExtra()
putExtra(key, value) adds extras to the intent.
Computer Science MCQ · More Lab: Multiple Activities and Navigation MCQs · Practise