On Sep 13, 7:07 pm, TreKing <[email protected]> wrote: > On Fri, Sep 3, 2010 at 3:26 PM, SpaceJack <[email protected]> wrote: > > That is I start A, then press Home key and move task back, then try to > > start B, but get onRestart() of my BaseClass, not onCreate(). > > Sounds strange. You're not doing anything funky with static variables? > > And what does " // We can make out here which activity (A | B) to create." > mean in your base class onCreate mean? That sounds suspect. > Hi, TreKing! I have special variable in my BaseClass (protected int what). And in onCreate's of both A and B assign different values. (My fault, I should have mentioned this in my first post.) So I can slightly modify BaseClass activity base on the current value of 'what'.
-- 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

