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
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
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
3 matches
Mail list logo