├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── layotu_button_2.xml │ │ │ │ ├── layotu_button_1.xml │ │ │ │ └── activity_main.xml │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ └── drawable │ │ │ │ └── ic_launcher_background.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── xk │ │ │ │ └── simplenestrecyclerview │ │ │ │ ├── bean │ │ │ │ ├── BrandBean.java │ │ │ │ └── CategoryBean.java │ │ │ │ ├── BrandAdapter.java │ │ │ │ ├── CategoryAdapter.java │ │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── xk │ │ │ └── simplenestrecyclerview │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── xk │ │ └── simplenestrecyclerview │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── simplenestlist ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ └── values │ │ │ │ └── strings.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── xk │ │ │ └── simplenestlist │ │ │ ├── BaseViewHolder.java │ │ │ ├── layouthelper │ │ │ ├── LayoutHelper.java │ │ │ ├── LinearLayoutHelper.java │ │ │ ├── SingleLayoutHelper.java │ │ │ ├── GridLayoutHelper.java │ │ │ ├── TitleGridLayoutHelper.java │ │ │ └── CrossGridLayoutHelper.java │ │ │ ├── SimpleNestListException.java │ │ │ ├── SimpleNestLayoutManager.java │ │ │ ├── adapter │ │ │ ├── DefaultDiffCallback.java │ │ │ ├── SingleAdapter.java │ │ │ └── AbsSubAdapter.java │ │ │ ├── Cantor.java │ │ │ └── DelegateAdapter.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── xk │ │ │ └── lib │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── xk │ │ └── lib │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── image ├── demo.jpeg ├── demo.jpg ├── grid.png ├── list.png ├── single.png ├── jdhome.jpeg ├── jdcategory.jpeg ├── jdfilter.jpeg ├── taobaohome.jpeg ├── titlegrid.png ├── taobaofilter.jpeg └── crossgridlayout.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── encodings.xml ├── compiler.xml ├── vcs.xml ├── jd_smartfox │ └── smartfox_info.xml ├── runConfigurations.xml ├── gradle.xml ├── codeStyles │ └── Project.xml ├── misc.xml └── inspectionProfiles │ └── Project_Default.xml ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── README.md └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /simplenestlist/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':simplenestlist' 2 | -------------------------------------------------------------------------------- /image/demo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/demo.jpeg -------------------------------------------------------------------------------- /image/demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/demo.jpg -------------------------------------------------------------------------------- /image/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/grid.png -------------------------------------------------------------------------------- /image/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/list.png -------------------------------------------------------------------------------- /image/single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/single.png -------------------------------------------------------------------------------- /image/jdhome.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/jdhome.jpeg -------------------------------------------------------------------------------- /image/jdcategory.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/jdcategory.jpeg -------------------------------------------------------------------------------- /image/jdfilter.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/jdfilter.jpeg -------------------------------------------------------------------------------- /image/taobaohome.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/taobaohome.jpeg -------------------------------------------------------------------------------- /image/titlegrid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/titlegrid.png -------------------------------------------------------------------------------- /image/taobaofilter.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/taobaofilter.jpeg -------------------------------------------------------------------------------- /image/crossgridlayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/image/crossgridlayout.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SimpleNestRecyclerView 3 | 4 | -------------------------------------------------------------------------------- /simplenestlist/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | simplenestlist 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/94kai/SimpleNestList/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /simplenestlist/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 24 10:48:24 CST 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip 7 | -------------------------------------------------------------------------------- /.idea/jd_smartfox/smartfox_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/xk/simplenestrecyclerview/bean/BrandBean.java: -------------------------------------------------------------------------------- 1 | package com.xk.simplenestrecyclerview.bean; 2 | 3 | /** 4 | * @author xuekai1 5 | * @date 2019/4/24 6 | */ 7 | public class BrandBean { 8 | public String name; 9 | 10 | public BrandBean(String name) { 11 | this.name = name; 12 | } 13 | 14 | public BrandBean() { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/java/com/xk/simplenestrecyclerview/bean/CategoryBean.java: -------------------------------------------------------------------------------- 1 | package com.xk.simplenestrecyclerview.bean; 2 | 3 | /** 4 | * @author xuekai1 5 | * @date 2019/4/24 6 | */ 7 | public class CategoryBean { 8 | public String name = ""; 9 | 10 | public CategoryBean(String name) { 11 | this.name = name; 12 | } 13 | 14 | public CategoryBean() { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layotu_button_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 |