Re: [android-developers] OOP
First of all, I'm not really sure what you're saying, second, you
might find this answer:
http://stackoverflow.com/questions/2218937/has-a-is-a-terminology-in-object-oriented-language
Finally, the reason Activity derives from Context has to do with the
system architecture. (FYI Context is not really a class, in reality
there's a concrete implementation you don't see anyway..)
kris
On Thu, Nov 8, 2012 at 3:14 PM, bob <bob@coolfone.comze.com> wrote:
> Do you guys think it is against the spirit of proper OOP for Activity to
> derive from Context?
>
>
> If an Activity "is a" Context, it would make more sense.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home