user
02/22/2018, 3:33 PMhttps://kotlinlang.slack.com/files/U8CFAB6BH/F9D4VD2RJ/image.png▾
class CustomNavigator : BaseNavigator
class CustomNavigationFactory<F, V, P>: NavigationFactory<F, V, P, CustomNavigator> {
...
}
f(CustomNavigator()) //Valid call
`
Your factory.with(navigation) fails now, because the CustomNavigator expects N to be of type CustomNavigator, but NavigationController is given