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 <
[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to