I have two android:id
.
For example: [ R.id.custom_font
] and [ R.id.product_name
]
In .java file
TextVie
I don't see the point of having two IDs for one view...
Just use the R.id.custom_font
again in the following line:
adapter = new ArrayAdapter<String>(this, R.layout.list_item, R.id.custom_font, products);
No, it is not possible. You can have only one android:id
associated with one component.