What is findViewById () method used for?

What is findViewById () method used for?
Answer
FindViewById Method (Android.

…

Overloads.

FindViewById(Int32)

Finds a view that was identified by the id attribute from the XML that was processed in OnCreate(Bundle).

FindViewById<T>(Int32)

Finds a view that was identified by the id attribute from the XML layout resource.
 

Tìm kiếm

Back
Top