Skip to content

Commit

Permalink
Merge pull request #42 from SpongeBobSun/master
Browse files Browse the repository at this point in the history
Fix - Wrong indicator number when remove sildes.
  • Loading branch information
janheinrichmerker committed Apr 21, 2016
2 parents ae3e9e8 + 9a89cdb commit d432c92
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public void setViewPager(ViewPager viewPager) {
@Override
public void onChanged() {
setPageCount(InkPageIndicator.this.viewPager.getAdapter().getCount());
invalidate();
}
});
setCurrentPageImmediate();
Expand Down Expand Up @@ -886,4 +887,4 @@ boolean shouldStart(float currentValue) {
return currentValue < thresholdValue;
}
}
}
}

0 comments on commit d432c92

Please sign in to comment.