listview - How NOT to re-create activity after orintation in android? -


i have activity contains listview, , listview filled data web service in oncreate() function ( using asynctask). when screen orientation changes activity re-created, don't want that. how keep saved after changing orientation

you need add in activity in androidmanifest.xml. adding "orientation" not work on devices.

android:configchanges="orientation|screensize" 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -