hackware1993 / MagicIndicator

A powerful, customizable and extensible ViewPager indicator framework. As the best alternative of ViewPagerIndicator, TabLayout and PagerSlidingTabStrip —— 强大、可定制、易扩展的 ViewPager 指示器框架。是ViewPagerIndicator、TabLayout、PagerSlidingTabStrip的最佳替代品。支持角标,更支持在非ViewPager场景下使用(使用hide()、show()切换Fragment或使用setVisibility切换FrameLayout里的View等),http://www.jianshu.com/p/f3022211821c
9.72k stars 1.55k forks source link

页面初次加载后,onSelected会触发多次的问题请问如何解决 #297

Open MuXing2016 opened 10 months ago

MuXing2016 commented 10 months ago

同上

hackware1993 commented 10 months ago

CommonNavigator.setReselectWhenLayout(false)

MuXing2016 commented 10 months ago

我的天!谢谢谢谢,解了燃眉之急,没想到回复这么快

------------------ 原始邮件 ------------------ 发件人: "hackware1993/MagicIndicator" @.>; 发送时间: 2023年11月21日(星期二) 中午11:34 @.>; @.**@.>; 主题: Re: [hackware1993/MagicIndicator] 页面初次加载后,onSelected会触发多次的问题请问如何解决 (Issue #297)

CommonNavigator.setReselectWhenLayout(false)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>