android - Listview go to main when i click in item -


i have app has listview , when click on item, adds item in array.

but when click on item don't want change view, in android 4.0 listviewgoing first, in android 4.2.2 listview doesn't change. why? want same result, second option.

is there property this?

try making use of getfirstvisibleposition() , setselection() methods of listview. first gets first listview item present on screen , second moves listview proper index when comeback activity. please read documentation more details these functions.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -