Skip to content

Commit

Permalink
Merge branch 'hidehandle' of https://github.com/Flamedek/AndroidPdfVi…
Browse files Browse the repository at this point in the history
…ewer into Flamedek-hidehandle
  • Loading branch information
barteksc committed Aug 17, 2019
2 parents 847fe6e + 9c57d96 commit 25799c5
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,14 @@ public void onAnimationUpdate(ValueAnimator animation) {
public void onAnimationCancel(Animator animation) {
pdfView.loadPages();
pageFlinging = false;
hideHandle();
}

@Override
public void onAnimationEnd(Animator animation) {
pdfView.loadPages();
pageFlinging = false;
hideHandle();
}
}

Expand All @@ -160,12 +162,14 @@ public void onAnimationUpdate(ValueAnimator animation) {
public void onAnimationCancel(Animator animation) {
pdfView.loadPages();
pageFlinging = false;
hideHandle();
}

@Override
public void onAnimationEnd(Animator animation) {
pdfView.loadPages();
pageFlinging = false;
hideHandle();
}
}

Expand All @@ -187,13 +191,15 @@ public void onAnimationUpdate(ValueAnimator animation) {

@Override
public void onAnimationCancel(Animator animation) {
pdfView.loadPages();
hideHandle();
}

@Override
public void onAnimationEnd(Animator animation) {
pdfView.loadPages();
hideHandle();
pdfView.performPageSnap();
hideHandle();
}

@Override
Expand Down

0 comments on commit 25799c5

Please sign in to comment.