Use this:
String selectedFromList = (String) (lv.getItemAtPosition(position));
Whatever the datatype you are having in your list, cast accordingly.
Hope it will help. 🙂
Use this:
String selectedFromList = (String) (lv.getItemAtPosition(position));
Whatever the datatype you are having in your list, cast accordingly.
Hope it will help. 🙂