Quantcast
Channel: how to clear spinner value in android - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by PRAMESH BHALALA for how to clear spinner value in android

The Below Code is Used for Clearing the Spinner Value:- ArrayList<String> allAreaNames; allAreaNames.clear(); ArrayAdapter<String> AreaAdapter = new ArrayAdapter<String> (context,...

View Article



Answer by Paresh Mayani for how to clear spinner value in android

You have called spinner2List.clear(); but haven't notified the adapter by using notifyDataSetChanged(); method.

View Article

Answer by Arash GM for how to clear spinner value in android

when you select one of your first spinner Items you can use code below in first spinner onItemSelected() method to clear your second spinner. Spinner2.setAdapter(null)

View Article

how to clear spinner value in android

i have two spinners when i select items(other then first item) in first spinner which is saved in array it populates data in spinner second which comes from web services. i want that when i again...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>