文章目录
一、实现效果
二、引入依赖
在app
的build.gradle
在添加以下代码
1、TabLayout
:implementation '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