Re: [android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread Ted Scott
On 2/1/2012 4:11 AM, atcal wrote: I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line of my constructor with an error "Implicit super conctructor View() is undefined. Must exp

Re: [android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread sourabh sahu
I think you should write super(context) Sourabh On Wed, Feb 1, 2012 at 2:41 PM, atcal wrote: > I'm trying to define my own View subclass. > > public class myView extends View { > >myView(Context context) { >View(context); >} > } > > Eclipse flags the first line of my constructor

[android-developers] What do these errors mean (using Eclipse)?

2012-02-01 Thread atcal
I'm trying to define my own View subclass. public class myView extends View { myView(Context context) { View(context); } } Eclipse flags the first line of my constructor with an error "Implicit super conctructor View() is undefined. Must explicitly invoke another constructor" and