File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,14 @@ public void onAnimationUpdate(ValueAnimator animation) {
138138 public void onAnimationCancel (Animator animation ) {
139139 pdfView .loadPages ();
140140 pageFlinging = false ;
141+ hideHandle ();
141142 }
142143
143144 @ Override
144145 public void onAnimationEnd (Animator animation ) {
145146 pdfView .loadPages ();
146147 pageFlinging = false ;
148+ hideHandle ();
147149 }
148150 }
149151
@@ -160,12 +162,14 @@ public void onAnimationUpdate(ValueAnimator animation) {
160162 public void onAnimationCancel (Animator animation ) {
161163 pdfView .loadPages ();
162164 pageFlinging = false ;
165+ hideHandle ();
163166 }
164167
165168 @ Override
166169 public void onAnimationEnd (Animator animation ) {
167170 pdfView .loadPages ();
168171 pageFlinging = false ;
172+ hideHandle ();
169173 }
170174 }
171175
@@ -187,13 +191,15 @@ public void onAnimationUpdate(ValueAnimator animation) {
187191
188192 @ Override
189193 public void onAnimationCancel (Animator animation ) {
194+ pdfView .loadPages ();
195+ hideHandle ();
190196 }
191197
192198 @ Override
193199 public void onAnimationEnd (Animator animation ) {
194200 pdfView .loadPages ();
195- hideHandle ();
196201 pdfView .performPageSnap ();
202+ hideHandle ();
197203 }
198204
199205 @ Override
You can’t perform that action at this time.
0 commit comments