5

The RecyclerView docs mentions a public method - getBindingAdapterPosition. https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.ViewHolder#getBindingAdapterPosition()

But i cannot seem to find it.

enter image description here

What am i missing?

Somesh Kumar
  • 8,088
  • 4
  • 33
  • 49
Amit Jayant
  • 2,501
  • 2
  • 29
  • 38

1 Answers1

10

This method getBindingAdapterPosition() is yet not available on stable release. It is still in Alpha phase, if you want to use anyway update your dependence in gradle as

implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha03' and this method will be there.

Nilesh B
  • 937
  • 1
  • 9
  • 14