Commit 89ce945d authored by Edward Wang's avatar Edward Wang
Browse files

HistoryAdapter: harmonise cover art

parent cd89d91f
......@@ -96,12 +96,12 @@ public class HistoryAdapter extends BaseAdapter {
/* If view not created */
if (v == null) {
v = mInflater.inflate(R.layout.directory_view_item, parent, false);
v = mInflater.inflate(R.layout.audio_browser_item, parent, false);
holder = new DirectoryAdapter.DirectoryViewHolder();
holder.layout = v.findViewById(R.id.layout_item);
holder.title = (TextView) v.findViewById(R.id.title);
holder.text = (TextView) v.findViewById(R.id.text);
holder.icon = (ImageView) v.findViewById(R.id.dvi_icon);
holder.text = (TextView) v.findViewById(R.id.artist);
holder.icon = (ImageView) v.findViewById(R.id.cover);
v.setTag(holder);
} else
holder = (DirectoryAdapter.DirectoryViewHolder) v.getTag();
......
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