Skip to content Skip to sidebar Skip to footer

Populating Spinner Using String Values Returned By Soap Web Service

I am working on a Android code that returns me String values that I store in a String array.I want to use this String array to populate one of my Spinners. My main intention is tha

Solution 1:

NullPointerException occurs when one of the object is null and you are trying to use it.

From your code i found that you have not initialized s3 of Spinner.

You just forgot to add :

s3 = (Spinner) findViewById(R.id.spinner3);

Post a Comment for "Populating Spinner Using String Values Returned By Soap Web Service"