What is the main difference between these If my layout file is R.layout.custom_layout
There are lot of tutorials are just placing on behalf of resourceId is R.layout.custom_layout .
And on behalf of textViewRourceId is just placing an id of TextView that was declared in R.layout.custom_layout
ArrayAdapter(Context context,int resourceId,int textViewResourceId,List list)
and
ArrayAdapter(Context context,int resourceId,List list)
I really in doubt where should i use and why?
1)In my point of view In custom Adapter both work same
2)I couldn't understand the first constructor parameter int textViewResourceId
.How/Why does the parameter use?
3)May is used an other textViewResourceId that was not declare in the R.layout.custom_list
Thanks