Of the items currently displayed on-screen within a RecyclerView
, is there any way to obtain the View
id of the one in the centre?
For example, if there are five items currently displayed, give me the id for the 3rd one.
Of the items currently displayed on-screen within a RecyclerView
, is there any way to obtain the View
id of the one in the centre?
For example, if there are five items currently displayed, give me the id for the 3rd one.