From e1fd4949b5b9d00da358032899683e86b24ebcb4 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 19 Jul 2024 09:27:00 +0800 Subject: [PATCH] update --- .../com/yunbao/common/fragment/GiftWallMainTab2Fragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/yunbao/common/fragment/GiftWallMainTab2Fragment.java b/common/src/main/java/com/yunbao/common/fragment/GiftWallMainTab2Fragment.java index 3fda7bb99..560dd45ad 100644 --- a/common/src/main/java/com/yunbao/common/fragment/GiftWallMainTab2Fragment.java +++ b/common/src/main/java/com/yunbao/common/fragment/GiftWallMainTab2Fragment.java @@ -126,7 +126,7 @@ public class GiftWallMainTab2Fragment extends BaseFragment { public Boolean invoke(View itemView, Integer index, Boolean select, Boolean fromUser) { //当需要选中itemView时, 触发的回调. //返回true, 拦截库中的默认处理. - return false; + return index == (type - 1); } }); dslTabLayoutConfig.setOnSelectViewChange(new Function4, Boolean, Boolean, Unit>() {