Commit 8b9e82a7 authored by Adrien Maglo's avatar Adrien Maglo
Browse files

Revert "Load the entire list of songs when clicking in the browser"

This reverts commit a9603d30 as a majority was in favor of the previous behavior.

The feature is still available through item long click.
parent ee1ef229
...@@ -168,9 +168,8 @@ public class AudioBrowserFragment extends SherlockFragment { ...@@ -168,9 +168,8 @@ public class AudioBrowserFragment extends SherlockFragment {
OnItemClickListener songListener = new OnItemClickListener() { OnItemClickListener songListener = new OnItemClickListener() {
@Override @Override
public void onItemClick(AdapterView<?> av, View v, int p, long id) { public void onItemClick(AdapterView<?> av, View v, int p, long id) {
ArrayList<String> songList = new ArrayList<String>(); ArrayList<String> mediaLocation = mSongsAdapter.getLocations(p);
int selectedId = mSongsAdapter.getListWithPosition(songList, p); mAudioController.load(mediaLocation, 0);
mAudioController.load(songList, selectedId);
} }
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment