Android kotlin 实现仿蜜源ViewPager和指示器对应上面TabLayout功能

阅读 52

2023-06-23

文章目录

一、实现效果

二、引入依赖

appbuild.gradle在添加以下代码
1、TabLayoutimplementation 'com.google.android.material:material:1.1.0'
2、implementation 'com.github.li-xiaojun:StateLayout:1.3.4' //allprojects {…增加:maven { url ‘https://jitpack.io’ }…}
3、implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0

精彩评论(0)

0 0 举报