0 votes
86 views
in android by (0 points)
closed by
Given the definition below. how would you get access a TextView with an ID of text_home contained in thr layout file of a Fragment class?

a. root.find(R.id.text_home)
b. findViewById(R.id.text_home)
c. root.getById(R.id.text_home)
d. root.findViewById(R.id.text_home)
closed

1 Answer

0 votes
by (0 points)
 
Best answer
d

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...