Hello all,
I have a spinner on my main view and I want to add and remove items from it's array from another view. Is this possible?
Thanks,
Boyd
Hello all,
I have a spinner on my main view and I want to add and remove items from it's array from another view. Is this possible?
Thanks,
Boyd
If you're adding/removing items in another Activity (making that assumption here), then however you're handling data should update the spinner in the spinner's activity's onCreate or onResume (which would probably happen anyways).
And like BrennaSoft said in the comment, if it's happening in the same activity, then there should be no problem modifying the array the spinner is using for data