-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
getting error No TypeParameter found for index T While generating factory for generic classes
For example, classes like this
interface WebSocketClient
interface Dto<out T> {
fun get(): T
}
interface TestRepository<Network : Dto<Domain>, Domain : Any>
class TestDataRepository<Network : Dto<Domain>, Domain : Any> @Inject constructor(
private val webSocketClient: WebSocketClient,
private val tClass: KClass<Network>,
) : TestRepository<Network, Domain>or
class Store<T> @Inject constructor(private val comparator: EquallyFunction<T>)
class MyVM(val store:Store<MyEntity>)Metadata
Metadata
Assignees
Labels
No labels