Hello,
Welcome to our Microsoft Q&A platform!
Why does the keyboard change instead of close? I think this issue is related to the item reusable, when item(Edittext) is disappear, this item do not destoryed, it be re-usabled by recycleview.
If you want to hide the keyboard when item is disappear, we can hide the keyborad when recycleview was touched.
mRecyclerView.SetOnTouchListener(new MyTouchListener(this));
internal class MyTouchListener : Java.Lang.Object, View.IOnTouchListener
{
private MainActivity mainActivity;
public MyTouchListener(MainActivity mainActivity)
{
this.mainActivity = mainActivity;
}
public bool OnTouch(View v, MotionEvent e)
{
InputMethodManager imm = (InputMethodManager)mainActivity.GetSystemService(Context.InputMethodService);
imm.HideSoftInputFromWindow(v.WindowToken, 0);
return false;
}
}
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.