Closed GSculerlor closed 1 year ago
....and apparently, it doesn't work well with Pair
and Triple
either. am I missing something here? Is it expected to retrieve an arg with primitive type only?
I found the issue. It was a problem of generics erased while retrieving dependencies. Version 7.20.2 should fix it.
thank you, tested on 7.20.2 and it does fix the issue.
says we have a ViewModel and a function as the argument.
when you try to retrieve the ViewModel via Kodein
rememberViewModel
it will throwNotFoundException
due to it expects the args passed as aFunction1<*, *>
we previously used our own simple wrapper to retrieve the ViewModel