Skip to content

Commit

Permalink
fix for issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
dlukashev committed Jun 21, 2015
1 parent c0471cc commit 398946a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ boolean smoothSlideTo(float slideOffset, int velocity) {

@Override
public void computeScroll() {
if (mDragHelper.continueSettling(true)) {
if (mDragHelper != null && mDragHelper.continueSettling(true)) {
if (!mCanSlide) {
mDragHelper.abort();
return;
Expand Down

0 comments on commit 398946a

Please sign in to comment.