2021年4月1日星期四

What is the difference between getLayoutPosition() and getAdapterPosition()?

What is the difference between getAdapterPosition() and getLayoutPosition?

https://proandroiddev.com/difference-between-position-getadapterposition-and-getlayoutposition-in-recyclerview-80279a2711d1. I have read this article, but don't really understand the part about getLayoutPosition()

Please explain it and the process behind it in simpler terms.

Thanks.

https://stackoverflow.com/questions/66879093/what-is-the-difference-between-getlayoutposition-and-getadapterposition March 31, 2021 at 06:10AM

没有评论:

发表评论