Skip to content Skip to sidebar Skip to footer

Listview Lazyadapter

I like to pass selected item value from ListView to another activity. I am using this code to get the details associated with the hashmap but I get java.lang.Integer cannot be

Solution 1:

try to replace

HashMap<String, String> o = (HashMap<String, String>) list.getItemAtPosition(position);

with

int o = (int) list.getItemAtPosition(position);

it seems your listview items contains the int type values

Post a Comment for "Listview Lazyadapter"