This issue seems to occur only on AndroidX. I've migrated my code to AndroidX. This can be resolved by importing import androidx.core.view.ViewCompat in your main java file. I'm no android dev so I don't know how to exactly resolve this but if possible please implement a method which import correct things for the correct platform.
This issue seems to occur only on AndroidX. I've migrated my code to AndroidX. This can be resolved by importing
import androidx.core.view.ViewCompat
in your main java file. I'm no android dev so I don't know how to exactly resolve this but if possible please implement a method which import correct things for the correct platform.