Hello folks, I upgraded the Koin version on my Java Android app Java to v3.4.0 and now it I can't see the getSharedViewModel on my fragment, any idea how I can resolve this?
a
André Tessmer
05/05/2023, 12:50 AM
I am also trying to work around that. Accordingly to the documentation seems like
sharedViewModel
has been replaced with
activityViewModel
c
chi
05/05/2023, 7:05 AM
Yeah, but the new activityViewModel can’t be used in Java classes
a
André Tessmer
05/05/2023, 1:31 PM
hmmm well... not sure why are you still using Java but seems like a great time to make a change