I have a fragment containing a RecyclerView and an EditText. When the RecyclerView is refreshed using runOnUiThread(), the cursor from edit text is lost. How to retain cursor in EditText when runOnUiThread() is called, without chaging values in EditText.
Try call requestFocus()
on EditText instance.