Deprecated method: getChildPosition()
method in recyclerview has been deprecated. What is alternate of this ?
getChildPosition
method is deprecated. you can use getChildAdapterPosition(View)
or getChildLayoutPosition(View)
.
You can use
int position = getAdapterPosition();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With