You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Single
open class Preferences(
private val prefs: SharedPreferences //<-- injected from same module
) :
SomePrefsInterface1,
SomePrefsInterface2
{
[...]
}
This setup fails to generate the module for Sources. If I explicitly add a binds = [SomePrefsInterface1:class] to the Preferences class, it seems to work. However this is a regression from previous versions.
Expected behavior @ComponentScan should automatically bind all super classes (and interfaces) without needing to declare an explicit binds.
Koin project used and used version (please complete the following information):
In the same package and gradle module:
and
This setup fails to generate the
module
forSources
. If I explicitly add abinds = [SomePrefsInterface1:class]
to thePreferences
class, it seems to work. However this is a regression from previous versions.Expected behavior
@ComponentScan
should automatically bind all super classes (and interfaces) without needing to declare an explicitbinds
.Koin project used and used version (please complete the following information):
The text was updated successfully, but these errors were encountered: