基于官方的BottomNavigationView, with ViewPager(有坑已填)
基于官方的BottomNavigationView 搭配 ViewPager服用;
貌似目前的这个官方库还不能支持切换当前选中的Item,所以在4个TAB以上,并且通过ViewPager切换时就有坑了,试一下就知道...
更新: 通过反射去掉了默认的切换效果,完美支持ViewPager联动。
简书文章
We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.