[Android] [PATCH 06/10] Allow refreshing the history
Edward Wang
edward.c.wang at compdigitec.com
Wed Aug 29 04:21:54 CEST 2012
---
.../src/org/videolan/vlc/gui/MainActivity.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 0dc2106..56249ac 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -377,6 +377,8 @@ public class MainActivity extends SherlockFragmentActivity {
DirectoryViewFragment directoryView = (DirectoryViewFragment) mSidebarAdapter.getFragment(mCurrentFragment);
directoryView.refresh();
}
+ else if(mCurrentFragment.equals("history"))
+ ((HistoryFragment)mSidebarAdapter.getFragment(mCurrentFragment)).refresh();
else
MediaLibrary.getInstance(this).loadMediaItems(this);
break;
--
1.7.5.4
More information about the Android
mailing list