Hello Mark,
It doesn’t work.
I used gradle to import library : https://github.com/alamkanak/Android-Week-View.
I have to implement this interface to load data but I don’t how to declare it properly , I tried few but wihout success
public interface MonthChangeListener
{
List<? extends WeekViewEvent> onMonthChange(int newYear, int newMonth);
}
So i can look at the quickly, can you either send me the .jar or the exact Gradle reference entry you are using? Or maybe even the entire project, if feasible, so i have a test bed already…
MainActivity = public class(Activity)
public
method onCreate(savedInstanceState: Bundle); override;
method onMonthChange<T>(newYear: Integer; newMonth: Integer): List<T>; where T is WeekViewEvent;
begin
end;
end;
but i need to know what interface you are trying to match, to see why t might mismatch. whats the interface name?
Got it. yeah, this does seem to be a compiler bug/limitation. unfortunately the error messages the wrong syntax as well — it may well be that we just don’t support this in Oxygene yet, at all
i’ll need to log a bug for Carlo, but unfortunately he’s off the next two days.
possible workaround: make your class partial, add a second part using the Java language (which we now support in 9.0, experimentally) to implement this… Let me see if i can whoop up a sample for you quick.