|
|
@ -42,8 +42,8 @@ class StatusDetailedViewHolder extends StatusBaseViewHolder { |
|
|
|
private TextView cardUrl; |
|
|
|
private TextView cardUrl; |
|
|
|
private View infoDivider; |
|
|
|
private View infoDivider; |
|
|
|
|
|
|
|
|
|
|
|
StatusDetailedViewHolder(View view) { |
|
|
|
StatusDetailedViewHolder(View view, boolean useAbsoluteTime) { |
|
|
|
super(view, false); |
|
|
|
super(view, useAbsoluteTime); |
|
|
|
reblogs = view.findViewById(R.id.status_reblogs); |
|
|
|
reblogs = view.findViewById(R.id.status_reblogs); |
|
|
|
favourites = view.findViewById(R.id.status_favourites); |
|
|
|
favourites = view.findViewById(R.id.status_favourites); |
|
|
|
cardView = view.findViewById(R.id.card_view); |
|
|
|
cardView = view.findViewById(R.id.card_view); |
|
|
@ -126,8 +126,8 @@ class StatusDetailedViewHolder extends StatusBaseViewHolder { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void setupWithStatus(final StatusViewData.Concrete status, final StatusActionListener listener, |
|
|
|
protected void setupWithStatus(final StatusViewData.Concrete status, final StatusActionListener listener, |
|
|
|
boolean mediaPreviewEnabled, @Nullable Object payloads) { |
|
|
|
boolean mediaPreviewEnabled, @Nullable Object payloads) { |
|
|
|
super.setupWithStatus(status, listener, mediaPreviewEnabled,payloads); |
|
|
|
super.setupWithStatus(status, listener, mediaPreviewEnabled, payloads); |
|
|
|
if (payloads==null) { |
|
|
|
if (payloads == null) { |
|
|
|
setReblogAndFavCount(status.getReblogsCount(), status.getFavouritesCount(), listener); |
|
|
|
setReblogAndFavCount(status.getReblogsCount(), status.getFavouritesCount(), listener); |
|
|
|
|
|
|
|
|
|
|
|
setApplication(status.getApplication()); |
|
|
|
setApplication(status.getApplication()); |
|
|
|