I am a little confused about findviewbyid. Just wanna to give a brief explanation and if any mistakes please review them.
class test
{
Button btes;
public void OnCreate(Bundle savedIntasnceState);
super.OnCreate(savedInstanceState);
btes = (Button)findViewById(R.id.button);
}
Does this mean that findViewById returns a reference to View object and instance of Android.Widget.Button. Android.widget.button extends findViewById.
Questions: 1. Is the above statement correct. If not then what is the correct statement. 2. Can anyone provide the source code of findViewById function of the view class 3. What are those hexadecimal numbers in R.java.