why do u want to extend it from the parentactivity,
you have your own extendable activity.

Things will work.



On Tue, Nov 29, 2011 at 5:10 PM, Hitendrasinh Gohil <
[email protected]> wrote:

> 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 <[email protected]>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 <
>> [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
>
>
>
>
> --
> 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 [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




-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
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