- Jan 3, 2016
- 0
- 0
- 0
what do you mean by reference in android
i am a complete beginner
here is the code
//get a reference to textview
TextView brands=(TextView) findViewbyid(R.id.brands);
//get a reference to spinner
Spinner brands=(Spinner) findViewbyid(R.id.brands);
what is happening in the above code
thank you
i am a complete beginner
here is the code
//get a reference to textview
TextView brands=(TextView) findViewbyid(R.id.brands);
//get a reference to spinner
Spinner brands=(Spinner) findViewbyid(R.id.brands);
what is happening in the above code
thank you