[Android] VideoPlayer: show loading animation when expanding a media

Thomas Guillem git at videolan.org
Fri Jun 5 11:07:55 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun  5 11:07:31 2015 +0200| [bb70e8a5229a00de17b27b5dfe0cdb0cdcac32f4] | committer: Thomas Guillem

VideoPlayer: show loading animation when expanding a media

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bb70e8a5229a00de17b27b5dfe0cdb0cdcac32f4
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 33daa67..372b3d2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1598,6 +1598,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
 
     private void endReached() {
         if(mMediaListPlayer.expand(savedIndexPosition) == 0) {
+            startLoadingAnimation();
             Log.d(TAG, "Found a video playlist, expanding it");
             mEventHandler.postDelayed(new Runnable() {
                 @Override



More information about the Android mailing list