From 526973507c448040c055718b60bab695ff4cb7c3 Mon Sep 17 00:00:00 2001 From: w-xuefeng Date: Sun, 16 Feb 2020 14:15:22 +0800 Subject: [PATCH] fix: clear old images before setting up new images --- multiview/src/main/java/cn/lemon/multi/MultiView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/multiview/src/main/java/cn/lemon/multi/MultiView.java b/multiview/src/main/java/cn/lemon/multi/MultiView.java index 251b23a..54b641c 100644 --- a/multiview/src/main/java/cn/lemon/multi/MultiView.java +++ b/multiview/src/main/java/cn/lemon/multi/MultiView.java @@ -211,6 +211,7 @@ public void addView(int position) { * 网络图片地址 */ public void setImages(List data) { + clear(); isImageURL = true; mData = data; if (data.size() > 9) {