I'm developing an Android app and my classes relationships are like this:

On FacebookClass I can't use methods like findViewById, because I don't access BaseClass objects (super super class, I mean), it's like if I can't use Activity methods.

Aditional informations:

  • BaseClass extends android.app.Activity;
  • BaseClass and SocialNetworkClass are abstract classes;
  • My intention with this hierarchy is produce less code (and reuse code).

Could anyone help me, please? Thanks!!

Related posts

Recent Viewed