MagicIndicator icon indicating copy to clipboard operation
MagicIndicator copied to clipboard

A powerful, customizable and extensible ViewPager indicator framework. As the best alternative of ViewPagerIndicator, TabLayout and PagerSlidingTabStrip —— 强大、可定制、易扩展的 ViewPager 指示器...

Results 109 MagicIndicator issues
Sort by recently updated
recently updated
newest added

IMeasurablePagerTitleView 可以很方便的自定义指向我们想要的view, 但indicator的适配还不支持定长居中 加入 MODE_ALIGN 支持该效果. ![image](https://user-images.githubusercontent.com/40893153/179654987-a7f6bda4-b13b-45ab-828d-26c4ef54fe3e.png)

重新布局导致重新选择Page 重选Page导致Tab的onSelect执行 在OnSelect的时候设置了字体 Bold 导致了再次重新布局 暂时的解决方案: mReselectWhenLayout = false 我不知道作者在这个字段注释中说的极端情况是什么情况 https://github.com/hackware1993/MagicIndicator/blob/e14fa79267c1977b0f51f593598ad50b2d08d11a/magicindicator/src/main/java/net/lucode/hackware/magicindicator/buildins/commonnavigator/CommonNavigator.java#L52

用户反馈应用卡顿,经过我的跟踪调试,发现在安卓11上,每个页面都卡顿。分析代码,发现,是CommonNavigator类的onLayout()方法被无限次调用,导致UI线程被占用从而整个app都卡顿,在小米的安卓11必现。别的手机的安卓11不知道是不是会出现。 我的修改办法,在CommonNavigator类中: `` private boolean isLayout = false; @Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); if (!isLayout) {...

让item垂直,指示器和间距调整有问题,感觉要改的东西太多了

viewpager+fragment fragment里面是RecycleView,等加载数据时候 notifyDataSetChanged 指示器就不能正常滑动,没有notifyDataSetChanged 只是简单布局 是可以正常的,怎么回事?