Kotlin generics problem

the following code will not report an error in Java, but an error will be reported in Kotlin. How to solve it?
is that I don"t want to care about the generic parameters of the parent class, just inherit it directly in Java. What do I do in Kotlin?

Java
clipboard.png
Kotlin
clipboard.png

:
One type argument expected for class BaseActivity

, >> defined in kotlin.ui.other in file OtherActivity.kt

Any :
clipboard.png

clipboard.png

Mar.06,2021

should be written as

  "viewing Kotlin generics from Java generics"  may help you 

Menu