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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -