Which of the method is used to return a view from a layout file given the id of the view?
Answer / Shobhit Jain
To return a view from a layout file given the id of the view, use findViewById(R.id.<view_id>) in your activity or fragment.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain android?
What is res folder in android?
What is the android application architecture?
What is override method in android studio?
How to get the form data in sencha touch?
What is the API profile exposed by Mono for Android?
Write down the syntax to get a view element in the program?
What is the difference between thread and a service in Android?
1 Answers SkillGun Technologies,
Will galaxy s8 get android pie?
What are the features of Android?
What is the life cycle of android activity?
What are the exceptions available in android?