Daniele Segato
09/18/2018, 5:07 PMerror: MyDao_Impl is not abstract and does not override abstract method myInterfaceMethod(String) in MyDao
If I write the same Dao in Java it compile with no issue:
@Dao
public interface TestDao {
@Ignore
default String myInterfaceMethod(String test) {
return test;
}
}
anyone know if there's a way to make it work? maybe some Annotation?@JvmDefault
annotation on the method Android Studio complains I should set jvm-target-1.8 and when i build I get a different error:
error: An abstract DAO method must be annotated with one and only one of the following annotations: Insert,Delete,Query,Update,RawQuery
watching the _Impl
it added a method with empty return null body