[Android] Audio browser: BaseAdapter already implements the ListAdapter interface
Adrien Maglo
git at videolan.org
Thu Nov 28 21:36:34 CET 2013
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Nov 28 21:35:47 2013 +0100| [5766505aef4b73de85d49d963eb08eaa819b4656] | committer: Adrien Maglo
Audio browser: BaseAdapter already implements the ListAdapter interface
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=5766505aef4b73de85d49d963eb08eaa819b4656
---
.../org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
index 905bb8a..fa8b32f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
@@ -29,19 +29,17 @@ import org.videolan.libvlc.Media;
import org.videolan.vlc.R;
import android.content.Context;
-import android.database.DataSetObserver;
import android.graphics.Bitmap;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.LinearLayout;
-import android.widget.ListAdapter;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
-public class AudioBrowserListAdapter extends BaseAdapter implements ListAdapter {
+public class AudioBrowserListAdapter extends BaseAdapter {
// Key: the item title, value: ListItem of only media item (no separator).
private Map<String, ListItem> mMediaItemMap;
@@ -271,12 +269,6 @@ public class AudioBrowserListAdapter extends BaseAdapter implements ListAdapter
}
@Override
- public void registerDataSetObserver(DataSetObserver observer) { }
-
- @Override
- public void unregisterDataSetObserver(DataSetObserver observer) { }
-
- @Override
public boolean areAllItemsEnabled() {
return false;
}
More information about the Android
mailing list