diff --git a/Opus/Opus.csproj b/Opus/Opus.csproj
index 4842a7f..540e5d9 100644
--- a/Opus/Opus.csproj
+++ b/Opus/Opus.csproj
@@ -334,7 +334,6 @@
-
@@ -381,7 +380,6 @@
-
diff --git a/Opus/Resources/Portable Class/ChannelAdapter.cs b/Opus/Resources/Portable Class/ChannelAdapter.cs
deleted file mode 100644
index 0bd18b5..0000000
--- a/Opus/Resources/Portable Class/ChannelAdapter.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using Android.App;
-using Android.Content;
-using Android.Content.Res;
-using Android.Graphics;
-using Android.Views;
-using Android.Widget;
-using Opus.Resources.values;
-using Square.Picasso;
-using System.Collections.Generic;
-
-namespace Opus.Resources.Portable_Class
-{
- public class ChannelAdapter : ArrayAdapter
- {
- private Context context;
- private List channelList;
- private LayoutInflater inflater;
- private int resource;
-
- public ChannelAdapter(Context context, int resource, List channelList) : base(context, resource, channelList)
- {
- this.context = context;
- this.resource = resource;
- this.channelList = channelList;
- }
-
- public override View GetView(int position, View convertView, ViewGroup parent)
- {
- if (position > channelList.Count || position < 0)
- return convertView;
-
- if (inflater == null)
- {
- inflater = (LayoutInflater)context.GetSystemService(Context.LayoutInflaterService);
- }
- if (convertView == null)
- {
- convertView = inflater.Inflate(resource, parent, false);
- }
- ChannelHolder holder = new ChannelHolder(convertView)
- {
- Title = { Text = channelList[position].Title },
- Artist = { Text = channelList[position].Artist },
- };
-
- Picasso.With(Application.Context).Load(channelList[position].Album).Placeholder(Resource.Color.background_material_dark).Transform(new CircleTransformation()).Into(holder.AlbumArt);
-
- if (MainActivity.Theme == 1)
- {
- holder.Title.SetTextColor(Color.White);
- holder.Artist.SetTextColor(Color.White);
- holder.Artist.Alpha = 0.7f;
- }
- else
- holder.CheckBox.ButtonTintList = ColorStateList.ValueOf(Color.Argb(255, 117, 117, 117));
-
- if (TopicSelector.instance.selectedTopics.Contains(channelList[position].Title))
- holder.CheckBox.Checked = true;
- else
- holder.CheckBox.Checked = false;
-
- return convertView;
- }
- }
-}
\ No newline at end of file
diff --git a/Opus/Resources/Portable Class/ChannelHolder.cs b/Opus/Resources/Portable Class/ChannelHolder.cs
index 29fa0c8..966536c 100644
--- a/Opus/Resources/Portable Class/ChannelHolder.cs
+++ b/Opus/Resources/Portable Class/ChannelHolder.cs
@@ -12,7 +12,6 @@ namespace Opus.Resources.values
public TextView Title;
public TextView Artist;
public ImageView AlbumArt;
- public CheckBox CheckBox;
public ChannelHolder(View v)
{
@@ -20,7 +19,6 @@ namespace Opus.Resources.values
Title = v.FindViewById(Resource.Id.title);
Artist = v.FindViewById(Resource.Id.artist);
AlbumArt = v.FindViewById(Resource.Id.albumArt);
- CheckBox = v.FindViewById(Resource.Id.checkBox);
}
}
@@ -30,7 +28,6 @@ namespace Opus.Resources.values
public TextView Title;
public TextView Artist;
public ImageView AlbumArt;
- public CheckBox CheckBox;
public Button action;
public RecyclerChannelHolder(View itemView, Action listener, Action longListener) : base(itemView)
@@ -39,7 +36,6 @@ namespace Opus.Resources.values
Title = itemView.FindViewById(Resource.Id.title);
Artist = itemView.FindViewById(Resource.Id.artist);
AlbumArt = itemView.FindViewById(Resource.Id.albumArt);
- CheckBox = itemView.FindViewById(Resource.Id.checkBox);
action = itemView.FindViewById