AndroidDeveloperLB / LollipopContactsRecyclerViewFastScroller

A sample of how to mimic the way that the contacts app handles a Fast-Scroller for a RecyclerView
Apache License 2.0
540 stars 95 forks source link

Get a lot of Log.e when scroll #14

Closed hearsilent closed 8 years ago

hearsilent commented 8 years ago

When I scroll RecyclerView by fastScroller, I saw a lot of log.e like this:

04-28 12:28:51.009 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.061 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.179 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.306 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.383 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.479 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.497 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
04-28 12:28:51.528 29607-29607/ E/ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.

How can I resolve this problem?

AndroidDeveloperLB commented 8 years ago

Which device has this? Did you see it on more devices? I can't confirm seeing this on Nexus 5x with Android 6.0.1. In fact I barely even see any log...

hearsilent commented 8 years ago

I found this is my problem, I think I can fix by myself.

Thx :)

pankaj2525 commented 7 years ago

@hearsilent how you resolve it.?

hearsilent commented 7 years ago

@pankaj2525 Use ParentView.requestDisallowInterceptTouchEvent(false) when track is onTouch, and ParentView.requestDisallowInterceptTouchEvent(true) when track is release.

ParentView is the view which grab touch event with fast scroller.