SnappyRecyclerView icon indicating copy to clipboard operation
SnappyRecyclerView copied to clipboard

logcat going nuts

Open sofakingforever opened this issue 7 years ago • 3 comments

Hi there, I'm trying the SnappyRecyclerView now, and the logcat seems to be printing an error every 40ms or so... " E/RecyclerView: Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary"

sofakingforever avatar Apr 21 '17 14:04 sofakingforever

Looking at the code, it seems like while SCROLL_STATE_IDLE, it will try to smoothScrollToPosition again.

sofakingforever avatar Apr 21 '17 14:04 sofakingforever

I actually did look in to this and forgot to write back to you, I didn't see this in the logs, could you tell me what device you saw this on?

Dan-TD avatar Jul 03 '17 10:07 Dan-TD

SmoothScroller instance is supposed to be used for only once, next time scroll to another position you need to create a new scroller.

zxyufan avatar Nov 21 '20 01:11 zxyufan