Trying to make custom spinner. And get the list for that spinner from resources
As I understand to do that I need to call
getResources().getStringArray(R.array.list_items)
But the problem is in the logic of adapter I need to add one item at the end to make it as a hint. But in String[]
I cant just do that. I can do that just in ArrayList.
So what is the best solution for that? Do I need to convert String[]
to ArrayList
but how to do that? Or what?