On Feb 2, 12:51 pm, Kostya Vasilyev <kmans...@gmail.com> wrote:
> It's not an Android issue.
>
> It's not even a Java issue.
>
> The issue is: trying to use C++ syntax in Java.
>
> Inheritance is one of the things where Java is not quite the same as C++
> (putting it mildly) - and the syntax differs too.
>
> I'd recommend spending a couple hours on a Java crash course, they can
> be easily found with Google Search.
>
> -- Kostya
>
> 02.02.2012 12:27, atcal пишет:
>
> > my problems with it as an Android issue, not a
> > Java issue
>
> --
> Kostya Vasilyev

OK. So why is the documentation so misleading? View() is shown as a
public method in teh android documentation. Why is it not available to
a subclass? Are you seriously telling me that the explanation for this
is that I don't understand Java inheritance?

(  super(context) passes the compiler but then crashes out at run
time. Can anyone tell me the statement(s) I need to put in rather than
refer me to a crash course. I've already spent several hours reading
the Oracle java course, so unless you have a specific course and
chapter in mind the suggestion isn't very helpful. )

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to