|
|
@@ -202,7 +202,6 @@ public abstract class BaseStatusListAdapter extends RecyclerView.Adapter<Recycle |
|
|
|
public static boolean fetch_all_more = false; |
|
|
|
private final Object lock = new Object(); |
|
|
|
protected Context context; |
|
|
|
protected ViewHolder holder; |
|
|
|
protected RetrieveFeedsAsyncTask.Type type; |
|
|
|
protected int style; |
|
|
|
private List<Status> statuses; |
|
|
@@ -609,7 +608,7 @@ public abstract class BaseStatusListAdapter extends RecyclerView.Adapter<Recycle |
|
|
|
final String userId = sharedpreferences.getString(Helper.PREF_KEY_ID, null); |
|
|
|
|
|
|
|
if (viewHolder.getItemViewType() != HIDDEN_STATUS) { |
|
|
|
holder = (ViewHolder) viewHolder; |
|
|
|
ViewHolder holder = (ViewHolder) viewHolder; |
|
|
|
|
|
|
|
holder.startUpdateTimer(); |
|
|
|
final Status status = statuses.get(i); |
|
|
@@ -1011,7 +1010,7 @@ public abstract class BaseStatusListAdapter extends RecyclerView.Adapter<Recycle |
|
|
|
holder.reactions_view.setLayoutManager(layoutManager); |
|
|
|
|
|
|
|
|
|
|
|
holder.status_add_reaction.setOnClickListener(v -> statusAddReactionClick(status)); |
|
|
|
holder.status_add_reaction.setOnClickListener(v -> statusAddReactionClick(status, holder)); |
|
|
|
} |
|
|
|
|
|
|
|
holder.status_cardview_title.setTextColor(ContextCompat.getColor(context, R.color.dark_text_toot_header)); |
|
|
@@ -3016,7 +3015,7 @@ public abstract class BaseStatusListAdapter extends RecyclerView.Adapter<Recycle |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
protected abstract void statusAddReactionClick(Status status); |
|
|
|
protected abstract void statusAddReactionClick(Status status, ViewHolder viewHolder); |
|
|
|
|
|
|
|
protected abstract void notificationCharts(Status status); |
|
|
|
|
|
|
|