[android-developers] Re: Again Back button issue

2010-12-10 Thread pramod.deore
How to use notifyDataSetChanged(). On Dec 10, 2:46 pm, "pramod.deore" wrote: > Ohh!! I just coy and paste that previous code, and by mistake I forgot > to remove that line. But now after removing > startActivity(getIntent());  item is deleted but list is not updated > instantly. > I read somewher

[android-developers] Re: Again Back button issue

2010-12-10 Thread pramod.deore
Ohh!! I just coy and paste that previous code, and by mistake I forgot to remove that line. But now after removing startActivity(getIntent()); item is deleted but list is not updated instantly. I read somewhere I must have to use notifyDataSetChanged(); How to use this? On Dec 10, 2:29 pm, YuviD

Re: [android-developers] Re: Again Back button issue

2010-12-10 Thread YuviDroid
Ehmwhat's this: ? startActivity(getIntent()); //Restarts activity for menu refresh On Fri, Dec 10, 2010 at 10:24 AM, pramod.deore wrote: > Hi, Yuvidroid no I had not called startActivity. Here is my code > > public void onCreate(Bundle savedInstanceState) >{ >super.onCreate(saved

[android-developers] Re: Again Back button issue

2010-12-10 Thread pramod.deore
Hi, Yuvidroid no I had not called startActivity. Here is my code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { System.out.println ("Inside try"); //sampleDB = this.openOrCreateDatabase(SAMPL