On Tue, Sep 14, 2010 at 12:40 AM, SpaceJack <[email protected]> wrote:

> I have special variable in my BaseClass (protected int what). And in
> onCreate's of both A and B assign different values. So I can slightly modify
> BaseClass activity base on the current value of 'what'.
>

That sounds terrible =)

Anyway ... you're sure the life cycle methods in the base class are
definitely being called for A and B the way you think they are? That is,
when you see onRestart, for example, you're sure that's for B and not for A?

And there's nothing with statics?

Not sure what else to tell you. Sounds like it should work ...

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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