Lukasz Kalnik
02/06/2022, 2:24 PMApplication
class to extend a fun interface ImageLoaderFactory
(from Coil). However I get the following error:
Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option
I have kotlinOptions.jvmTarget = "11"
.gildor
02/06/2022, 3:29 PMLukasz Kalnik
02/06/2022, 5:15 PMImageLoaderFactory
does not mark its method as @JvmDefault
. In fact it doesn't have a default method implementation at all:
https://github.com/coil-kt/coil/blob/main/coil-singleton/src/main/java/coil/ImageLoaderFactory.ktephemient
02/06/2022, 10:09 PMLukasz Kalnik
02/07/2022, 8:57 AM