How can i solve this:
Error:(76, 9) error: reference to MyCalendarItem is ambiguous both constructor MyCalendarItem(Context,MyCalendar) in MyCalendarItem and constructor MyCalendarItem(Context,AttributeSet) in MyCalendarItem match
public MyCalendarItem(Context context) {
this(context, null); //Error showing in this line
}
public MyCalendarItem(Context context, MyCalendar myCalendar) {
this(context);
this.myCalendar = myCalendar;
}
public MyCalendarItem(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public MyCalendarItem(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
...
...
...
}