You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: There is no generic of ViewBinding.
at com.dylanc.viewbinding.base.ViewBindingUtil.withGenericBindingClass(ViewBindingUtil.kt:96)
at com.dylanc.viewbinding.base.ViewBindingUtil.inflateWithGeneric(ViewBindingUtil.kt:45)
at site.tx.xtproxy.util.Dialogs.showDialog(Dialogs.kt:113)
at site.tx.xtproxy.util.Dialogs.showRate(Dialogs.kt:38)
at site.tx.xtproxy.page.TkSettingActivity.onCreate$lambda$2(TkSettingActivity.kt:31)
at site.tx.xtproxy.page.TkSettingActivity.$r8$lambda$UCr_uFWsiG8qCSv0LPG51z4bleM(Unknown Source:0)
at site.tx.xtproxy.page.TkSettingActivity$$ExternalSyntheticLambda1.onClick(Unknown Source:0)
用了一个对话框库(DialogX),想要结合ViewBinding一起使用,但是使用时候报错了,不太理解
inflateWithGeneric
方法的第一个参数是要传什么...封装的方法代码:
使用:
报错:
正常使用版本:
The text was updated successfully, but these errors were encountered: