I’m getting the following error when trying to use...
# koin
j
I’m getting the following error when trying to use Koin annotations with a type annotated with
@OptIn(ExperimentalPagingApi::class)
This declaration needs opt-in. Its usage must be marked with ‘@androidx.paging.ExperimentalPagingApi’ or ‘@OptIn(androidx.paging.ExperimentalPagingApi::class)’
Does Koin not support transitive Opt-in annotations? How are other people solving this issue?
solved 1
Looks like providing an explicit
bind = ...
value to the annotation addresses the error.
👍 1