https://kotlinlang.org logo
Title
u

user

06/29/2022, 11:51 AM
onclicklistener not working until horizontal recyclerview scrolled to the end I am using onclicklistener to highlight selected recyclerview item. The problem is that it is not working until I scroll rv to its end. After that it highlights as it is supposed to. I tried to set this parameters in xml android:clickable="false"android:focusable="false" android:focusableInTouchMode="false" but no use. Here is adapter class ServiceGroupRvAdapter() : BaseRecyclerListAdapter() { private lateinit var mOnServiceGroupListener:...