summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/view
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2021-04-29 21:40:41 +0200
committerGitHub <noreply@github.com>2021-04-29 21:40:41 +0200
commitd08a9c423ef7122dfbcd55d5f7bcedccc2aea21c (patch)
tree1a3fed208101b37042d6cb9447421a5d914fea9c /app/src/main/java/de/danoeh/antennapod/view
parent02dba45d5cf463f81412d0a30c5ea5c58a11f4ac (diff)
downloadAntennaPod-d08a9c423ef7122dfbcd55d5f7bcedccc2aea21c.zip
Merge download log+running lists (#5134)
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/view')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/view/viewholder/DownloadLogItemViewHolder.java (renamed from app/src/main/java/de/danoeh/antennapod/view/viewholder/DownloadItemViewHolder.java)13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/view/viewholder/DownloadItemViewHolder.java b/app/src/main/java/de/danoeh/antennapod/view/viewholder/DownloadLogItemViewHolder.java
index 0e446fb84..578e1b149 100644
--- a/app/src/main/java/de/danoeh/antennapod/view/viewholder/DownloadItemViewHolder.java
+++ b/app/src/main/java/de/danoeh/antennapod/view/viewholder/DownloadLogItemViewHolder.java
@@ -11,25 +11,26 @@ import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.joanzapata.iconify.widget.IconTextView;
import de.danoeh.antennapod.R;
+import de.danoeh.antennapod.ui.common.CircularProgressBar;
-public class DownloadItemViewHolder extends RecyclerView.ViewHolder {
+public class DownloadLogItemViewHolder extends RecyclerView.ViewHolder {
public final View secondaryActionButton;
public final ImageView secondaryActionIcon;
+ public final CircularProgressBar secondaryActionProgress;
public final IconTextView icon;
public final TextView title;
- public final TextView type;
- public final TextView date;
+ public final TextView status;
public final TextView reason;
public final TextView tapForDetails;
- public DownloadItemViewHolder(Context context, ViewGroup parent) {
+ public DownloadLogItemViewHolder(Context context, ViewGroup parent) {
super(LayoutInflater.from(context).inflate(R.layout.downloadlog_item, parent, false));
- date = itemView.findViewById(R.id.txtvDate);
- type = itemView.findViewById(R.id.txtvType);
+ status = itemView.findViewById(R.id.status);
icon = itemView.findViewById(R.id.txtvIcon);
reason = itemView.findViewById(R.id.txtvReason);
tapForDetails = itemView.findViewById(R.id.txtvTapForDetails);
secondaryActionButton = itemView.findViewById(R.id.secondaryActionButton);
+ secondaryActionProgress = itemView.findViewById(R.id.secondaryActionProgress);
secondaryActionIcon = itemView.findViewById(R.id.secondaryActionIcon);
title = itemView.findViewById(R.id.txtvTitle);
if (Build.VERSION.SDK_INT >= 23) {