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.74k stars 1.55k forks source link

使用CommonPagerTitleView,填充的自定义布局,怎么显示下划线指示器,getIndicator方法里返回线型指示器无效 #108

Open gpitcast opened 6 years ago

gpitcast commented 6 years ago

使用CommonPagerTitleView,填充的自定义布局,怎么显示下划线指示器,getIndicator方法里返回线型指示器无效

hystrixis commented 6 years ago

同求

hackware1993 commented 6 years ago

需要为 CommonPagerTitleView 设置 PositionDataProvider,写法参考 SimpleTitleView