diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MediaPreviewAdapter.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MediaPreviewAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MediaPreviewAdapter.java index 3d9bce508..9192c6555 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MediaPreviewAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MediaPreviewAdapter.java @@ -179,6 +179,11 @@ public class MediaPreviewAdapter extends RecyclerView.Adapter<MediaPreviewAdapte } } + public void clearPreviews() { + this.mediaPreviews.clear(); + } + + class MediaPreviewViewHolder extends RecyclerView.ViewHolder { private final MediaPreviewBinding binding; |