From ae49dd50d4b8ccdbc99a142c44e29e63ab111a3a Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 19 Dec 2019 18:32:37 +0800 Subject: Show a play button on the image if the post is a video or an image. --- .../Adapter/CommentAndPostRecyclerViewAdapter.java | 6 ++++++ .../Adapter/PostRecyclerViewAdapter.java | 18 +++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java index 6c1c1130..694e0f62 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java @@ -466,6 +466,8 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter