in the Koin declaration, it's initialized like thi...
# koin
k
in the Koin declaration, it's initialized like this: single { MutableLiveData<LoginState>() }
FYI, my solution was to do: class LoginStateLiveData: MutableLiveData<LoginState>() And then you can do get(LoginStateLiveData.class)
a
👍
d
Would a typealias work too?
k
these are Java classes...no typealias there 😉
😞 1
if you're all Kotlin, everything works fine...but as in most legacy apps, ours is mostly Java (only 15% Kotlin but we've only been at it for less than a year)...