It doesn't seem to matter what I id I put in as parameter 2 to this constructor.
I keep getting this compile error: "resource type layout expected"
This web page is no help what so ever: http://developer.android.com/referen...text,%20int%29
There are no examples and no proper explanation of the parameters
So what is it exactly that you are supposed to pass into this constructor as the second parameter?
I keep getting this compile error: "resource type layout expected"
Code:
m_BTArrayAdapter = new ArrayAdapter<>(this, id.layout_controls);
There are no examples and no proper explanation of the parameters
So what is it exactly that you are supposed to pass into this constructor as the second parameter?
Aucun commentaire:
Enregistrer un commentaire