From 34ed769e6e766e9c6ef9ad6c267f1be998f4a0f5 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 5 Sep 2014 15:39:35 -0700 Subject: #148 On now playing list, lock a single entry into a DownloadFile This is to get around issues where you can have a single Entry with multiple DownloadFile's in the now playing list. --- src/github/daneren2005/dsub/view/DownloadFileAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github/daneren2005/dsub/view/DownloadFileAdapter.java b/src/github/daneren2005/dsub/view/DownloadFileAdapter.java index f9676dbd..f535acef 100644 --- a/src/github/daneren2005/dsub/view/DownloadFileAdapter.java +++ b/src/github/daneren2005/dsub/view/DownloadFileAdapter.java @@ -42,6 +42,7 @@ public class DownloadFileAdapter extends ArrayAdapter { } DownloadFile downloadFile = getItem(position); view.setObject(downloadFile.getSong(), false); + view.setDownloadFile(downloadFile); return view; } } -- cgit v1.2.3