Android ListView clears when hard BACK key is pressed.

Posted by Rpond on Stack Overflow See other posts from Stack Overflow or by Rpond
Published on 2010-04-16T21:37:40Z Indexed on 2010/04/16 21:43 UTC
Read the original article Hit count: 291

Filed under:
|

In my android app I have a Tabhost with a ListView as one of the tabs. By clicking on an item in the ListView (an address) I start an Intent to Google Maps for directions and the choice dialog pops up for google maps, web browser etc. Problem is if I press the hard back button then the launch dialog goes away but also the ListView is cleared. Any idea why?

© Stack Overflow or respective owner

Related posts about android

Related posts about listview