What’s the correct way to implement key-value pair in Spinner in android

this is one way.
i use it quite a lot though i use my own adapter (inheriting from BaseAdpater).
Another way would b like the above to have an index (0,1,2 etc ) mappd to a value and when you get an item get it’s index a well so you can retrieve it’s value fro mthe map.
I like that option less…

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)