I have edit text items in RecyclerView
. Everything works fine except in API 28. When it comes to testing in Android Pie devices, a single tap on an edit text item of a RecyclerView
opens up the soft input keyboard but then the edit text loses the focus immediately and hence we are required to tap again on that edit text. Once we tap again on that edit text, it works as usual. But it is weird. Generally, edit text sustains the focus on the very first tap.
I have tried following solutions with no success
http://androidtechnicalblog.blogspot.com/2014/04/quick-trick-of-week-edittext-inside.html?m=1