roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 532 forks source link

Add listener callback to allow disabling SwipeRefreshLayout when scrolling ViewPager horizontally #421

Open grennis opened 8 years ago

grennis commented 8 years ago

This adds a callback to the listener to inform the app that the viewpager is scrolling. This allows the app to disable a swiperefresh during scroll. This fix is discussed here: http://stackoverflow.com/questions/25978462/swiperefreshlayout-viewpager-limit-horizontal-scroll-only Fixes #420