android - Where to find or download USB Driver folder?
Driver on

android – How to update adapter?

I’ve a number of spinners in a category.
For the primary spinner I’ve set of knowledge.
Different spiners will obtain knowledge from server based on the choice of the fist spinner.
Nevertheless, after downloading knowledge, it doesn’t replace the spinner adapters.

Adapter for the second spinner:

sectionField = new String[] {"Error"};
            adapterSection = new ArrayAdapter(
                    this, android.R.structure.simple_spinner_item, sectionField);

Code pattern from fisrts spinner onItemSelected, which I consider ought to replace the adapter:

sectionField = new String[data.length()];
sectionField = knowledge;

Leave a Reply

Your email address will not be published. Required fields are marked *