Mmmm...it looks like you are still starting a new activity each time an item is deleted. Don't call "startActivity()".
On Fri, Dec 10, 2010 at 10:11 AM, pramod.deore <deore.pramo...@gmail.com>wrote: > Hi all, I am developing one application in that I am reading data from > database and display it in list using SimpleCursorAdapter class. Last > time when I had not used SimpleCursorAdapter class then that time list > is not update instantly therefore this time I am using > SimpleCursorAdapter. > > But this time is also there is new issue. If suppose there > are 4 list item and suppose using contectMenu I show option to delete > particular item from list. If i delete that item then list is updated > succesfully, but if suppose I want to go back then I want to click on > back button 2 times(instead of one). If I deleted 5 items then I have > to click 6 times to go back. > > How to handle this problem? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en