chrisbanes/Android-PullToRefresh — pull request #16 by rno (2012-01-12 22:09:17+00:00)
Title: Friction, Touchslop, Touch events

Hello,

to start, many thanks for this new library :-)

The 2 commits add:
- Retrieval of friction from ViewConfiguration, it avoids to have a static constant value in the code
- Retrieval of touchslop from ViewConfiguration and a better touch events analyze. It avoids stealing single tap events on some devices due to the way you were determining movement of finger.

Regarding the way I'm retrieving the touchslop with ViewConfiguration.getWindowTouchSlop(), if you're going to use the Compatibility Library of Android, it will be possible and I think better to use ViewConfigurationCompat.getScaledPagingTouchSlop().

I've tried to stick to your coding convention, looking forward to reading you,

Rno