I have some timers in both child activities which must be stopped on onPause.
On Tue, Nov 29, 2011 at 5:03 PM, Mukesh Srivastav <mukicha...@gmail.com>wrote: > The Design is good. > > Please remove the onPause,onResume,onDestroy from the ChildActivities and > keep it in only parentActivity.Things will work. > > Warm Regards, > *Mukesh Kumar*, > Android Consultant/Freelancer, > India,Hyderabad. > > On Tue, Nov 29, 2011 at 4:59 PM, Hitendrasinh Gohil < > hitendrasin...@gmail.com> wrote: > >> Hi, >> >> There is one activity class called BaseActivity.java. >> >> There are other 2 activities called childactivity1 and childactivity2. >> >> Now childActivity1 extends BaseActivity and childActivity2 extends >> BaseActivity >> >> My problem is that i am calling childactivity2 from childactivity1 >> and finishes childactivity1 so onResume(childactivity2) is called >> before onDestroy(childactivity1) called and it gives unable to resume >> activity. >> >> -- >> 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 > > > > > -- > > > -- > 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 -- regards, Hitendrasinh Gohil -- 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