Android Build a Simple Android App Basic Android Programming Accessing Views in Code: Declaring Variables

Soumitra Mehrotra
Soumitra Mehrotra
1,468 Points

Are TextView and Button classes or data types, with reference to Android??

If they classes then how come we used them to declare private fields.If they are data type then how come we need to import data types?