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 listview
going 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
Post a Comment