<Kotlin secondary constructor with generic type> I...
# stackoverflow
u
Kotlin secondary constructor with generic type In java I can achieve two constructors like public TargetTitleEntryController() { } public TargetTitleEntryController(T targetController) { setTargetController(targetController); } I want to convert it to Kotlin class TargetTitleEntryController () with the secondary constructor. I don't know how to declare with generic type like Java counterpart.