[Android] Audio browser: make AudioBrowserListAdapter extend BaseAdapter to fix the issue with fast scrolling

Adrien Maglo git at videolan.org
Tue Nov 19 18:47:58 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue Nov 19 18:46:51 2013 +0100| [03f8e65ba2ca5c354698ec6a2704185440b591fa] | committer: Adrien Maglo

Audio browser: make AudioBrowserListAdapter extend BaseAdapter to fix the issue with fast scrolling

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

 .../src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java     |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 29d80f8..9420e63 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
@@ -34,13 +34,14 @@ 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 implements ListAdapter {
+public class AudioBrowserListAdapter extends BaseAdapter implements ListAdapter {
 
     // Key: the item title, value: ListItem of only media item (no separator).
     private Map<String, ListItem> mMediaItemMap;



More information about the Android mailing list