我有下面的代码,一切都适用于 Android 9
RespM= FindViewById<RecyclerView>(Resource.Id.RespMedius);
RespM.SetFocusable(ViewFocusability.NotFocusable);
Run Code Online (Sandbox Code Playgroud)
但是当我想在API 17中尝试它时,我收到以下错误,因为假设该函数SetFocusable位于API 14内部应该对我有用......有什么解决方案吗?
Java.Lang.NoSuchMethodError: '类 Landroid/view/View 中没有名称='setFocusable'签名='(I)V'的方法;'