I am updating an old Android project, and now I am getting this log statement from RecyclerView repeatedly:
W/RecyclerView: RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead
It occurs when the recyclerview is populated and displayed for the first time or when the items in the recyclerview are refreshed.
Logcat:
11-05 14:02:23.290 20209-20209/com.mydomain W/RecyclerView: RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead
11-05 14:02:23.290 20209-20209/com.mydomain W/RecyclerView: RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead
11-05 14:02:23.607 20209-20209/com.mydomain W/RecyclerView: RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead
11-05 14:02:23.607 20209-20209/com.mydomain W/RecyclerView: RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead
11-05 14:02:23.629 20209-20209/com.mydomain W/RecyclerView: RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead
[...]
The line repeats about 40+ times
However, as far as I can tell, in my code I am not scrolling to an absolute position. (Unless perhaps it is a byproduct of something else)
I have not been able to find much information about this warning.
Can anyone provide insight?