android - Getting the value of each Spinner from multiple Listview rows? -


i have custom list view. displaying product image spinner (product size dropdown) , price on each row.

the user pick size products press button sumbiting selected products proper sizes.

in activity opens next show order total number, price , size of selectes products.

how loop trough , value each row of listview can calculate , show total price , selected spinner entries (there no database, values added user)?

thanks!

you can values different spinners

string text = spinner.getselecteditem().tostring(); 

similarly others values total number,pice , size etc. , can pass these values via intent other activity , these values in activity via getintent()


Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -