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

API 28混淆的时候混淆不通过 #125

Open ChinaZeng opened 6 years ago

ChinaZeng commented 6 years ago

升级API 28,Canvas.sava(int flog)被移除,开启混淆编译不过。我现在是通过混淆的时候 -dontworn解决的(拉取源代码当作module有点麻烦),但是感觉治标不治本,建议升级api升级一下代码。

hackware1993 commented 6 years ago

@ChinaZeng 稍等,我马上升级

luyun181 commented 6 years ago

升级完了吗?

watayouxiang commented 6 years ago

Warning: net.lucode.hackware.magicindicator.buildins.commonnavigator.titles.ClipPagerTitleView: can't find referenced method 'int save(int)' in library class android.graphics.Canvas.

watayouxiang commented 6 years ago

Warning: net.lucode.hackware.magicindicator.buildins.commonnavigator.titles.ClipPagerTitleView: can't find referenced method 'int save(int)' in library class android.graphics.Canvas.

这样就可以了: //canvas.save(Canvas.CLIP_SAVE_FLAG); canvas.save();

mysiga commented 6 years ago

@hackware1993 升级完没?

Labourer-Lee commented 5 years ago

@hackware1993 有时间麻烦升级一下啊,感谢!