mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-05 08:33:07 +00:00
Merge pull request #36 from ThePBone/fix-filter
fix: filter array of songs in setItems (DownloadHorizontalAdapter)
This commit is contained in:
@@ -261,7 +261,7 @@ public class DownloadHorizontalAdapter extends RecyclerView.Adapter<DownloadHori
|
|||||||
|
|
||||||
switch (view) {
|
switch (view) {
|
||||||
case Constants.DOWNLOAD_TYPE_TRACK:
|
case Constants.DOWNLOAD_TYPE_TRACK:
|
||||||
bundle.putParcelableArrayList(Constants.TRACKS_OBJECT, new ArrayList<>(songs));
|
bundle.putParcelableArrayList(Constants.TRACKS_OBJECT, new ArrayList<>(grouped));
|
||||||
bundle.putInt(Constants.ITEM_POSITION, getBindingAdapterPosition());
|
bundle.putInt(Constants.ITEM_POSITION, getBindingAdapterPosition());
|
||||||
click.onMediaClick(bundle);
|
click.onMediaClick(bundle);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user