From b29bbf4321205a665ed74ecf05b54205d34d0840 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 26 Aug 2019 17:06:50 +0800 Subject: Display an archived icon if the post is archived. Display a locked icon if the post is locked. --- .../CommentAndPostRecyclerViewAdapter.java | 16 ++++++++++++++++ .../infinityforreddit/PostRecyclerViewAdapter.java | 10 ++++++++++ 2 files changed, 26 insertions(+) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java index ec46235d..095abbaa 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java @@ -331,6 +331,14 @@ class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter { if(mAccessToken == null) { Toast.makeText(mActivity, R.string.login_first, Toast.LENGTH_SHORT).show(); @@ -989,6 +1003,8 @@ class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter