fix adapter update poster method

This commit is contained in:
Akinwale Ariwodola 2020-05-31 21:05:07 +01:00
parent b1e8371d28
commit 4685791f9c

View file

@ -139,7 +139,7 @@ public class CommentListAdapter extends RecyclerView.Adapter<CommentListAdapter.
if (replies != null && replies.size() > 0) { if (replies != null && replies.size() > 0) {
for (int j = 0; j < replies.size(); j++) { for (int j = 0; j < replies.size(); j++) {
Comment reply = item.getReplies().get(j); Comment reply = item.getReplies().get(j);
if (channelId.equalsIgnoreCase(item.getChannelId())) { if (channelId.equalsIgnoreCase(reply.getChannelId())) {
reply.setPoster(channel); reply.setPoster(channel);
break; break;
} }