how to use hashmap value to textview in android?
i have one hashmap.hashmap have different value. i want to display hashmap value in textview.
my code is
Iterator iterator = o开发者_如何学PythonbjJMap.keySet().iterator();
while (iterator.hasNext())
{ String key = (String) iterator.next();
String value1 = objJMap.get(key); }
how it display in textview?
you want display all hashmap value in a textview? textview set value in java code like this: textview.setText(value1);
You have to create run time text view in while loop and put the value in it.
精彩评论