Android : Add EditText to hash map android

on Thursday, April 2, 2015


Hi I am just looking for some advice on how to approach adding 2 seperate edittext values to a hash map.


Basically, I have the name of an item in one edittext, and the price of the item in the next one. I want to click add and for both values to be stored together.


My aim is to add these details to a spinner and when its selected I can show the value that is associated with it.


I am just looking for some direction if that is possible, I am able to add one hash map entry to a spinner but I am having trouble adding two connected values at once


0 comments:

Post a Comment