Hello guys,
can anybody help me about how to change the contents of spinner on run time in android.
any help will be appreciative.
thanks a lot
Hello guys,
can anybody help me about how to change the contents of spinner on run time in android.
any help will be appreciative.
thanks a lot
You have to change the adapter which is bound to the Spinner. Either you edit add or remove items to/from the adapter and refresh it or you create a new adapter filled with the new items and bind it to the Spinner.