<@U2SKJHSGK> how does your `RootPresenterTag.get()...
# getting-started
a
@miha-x64 how does your
RootPresenterTag.get()
look like?
m
It returns
Presenter<ARG, RET, HOST, PARENT, VIEW>
using its own type parameters. (generic class, non-generic function)
a
@miha-x64 does your
Presenter<...>
have the same generic contraints as the method?
m
Yes.
a
can you post some code of your
Presenter
? I've tired to implement it with a simple class and it works fine here
m
Sample code is here: https://github.com/Miha-x64/Flawless I'm using PresenterTag as a token, which is used by Fragment to get a Presenter.
a
Hm, seems fine to me. Maybe try to create a simple project reproducing this issue
m
The code is not fine. There's no way for compiler to know whether are type parameters really mapped to actual type arguments. 🙂