I am replacing my ListView
with RecyclerView
, list showing ok, but I would like to know how to get clicked item and its position, similar to the method OnItemClickListener.onItemClick(AdapterView parent, View v, int position, long id)
we use in ListView
.
Thanks for ideas!