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

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -