From c5b5aa2ad266005fe13d785bad4334e5dc64d9bd Mon Sep 17 00:00:00 2001 From: FineFindus Date: Sat, 10 Feb 2024 14:55:25 +0100 Subject: [PATCH] feat: display boost timestamp --- .../ReblogOrReplyLineStatusDisplayItem.java | 9 ++++-- .../display_item_reblog_or_reply_line.xml | 28 ++++++++++++++++++- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/ReblogOrReplyLineStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/ReblogOrReplyLineStatusDisplayItem.java index 180c27ef43..c9c7c45559 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/ReblogOrReplyLineStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/ReblogOrReplyLineStatusDisplayItem.java @@ -113,14 +113,16 @@ public ImageLoaderRequest getImageRequest(int index){ } public static class Holder extends StatusDisplayItem.Holder implements ImageLoaderViewHolder{ - private final TextView text, extraText; - private final View separator; + private final TextView text, extraText, boostingTimestamp; + private final View separator, timeSeparator; public Holder(Activity activity, ViewGroup parent){ super(activity, R.layout.display_item_reblog_or_reply_line, parent); text=findViewById(R.id.text); extraText=findViewById(R.id.extra_text); separator=findViewById(R.id.separator); + boostingTimestamp=findViewById(R.id.boosting_timestamp); + timeSeparator=findViewById(R.id.time_separator); } private void bindLine(ReblogOrReplyLineStatusDisplayItem item, TextView text) { @@ -144,11 +146,14 @@ private void bindLine(ReblogOrReplyLineStatusDisplayItem item, TextView text) { if(Build.VERSION.SDK_INT + + + + \ No newline at end of file