秘诀::light_bulb::rocket::white_medium_star:Android上的RecyclerView通用适配器,可轻松将异构项目添加到列表中-源码

上传者: 42181693 | 上传时间: 2021-02-03 01:05:52 | 文件大小: 174KB | 文件类型: ZIP
Mystique是适用于Android RecyclerView的库,可让您使用通用适配器轻松创建同类和异构列表。 它是类固醇上的RecyclerView.Adapter ,纯粹是用Kotlin编写的(哦,是的,还具有扩展功能)。 下载 您可以通过以下方式之一通过jCenter下载该库, Gradle 将此行以及您可能使用的任何其他库添加到您的build.gradle文件中的dependencies部分下。 dependencies { compile ' co.upcurve.mystique:mystique:1.0 ' } Maven 如果您更喜欢使用Maven,请添加以下几行, co.upcurve.mystique mystique 1.0 pom 用法 使用该库非常简单。 您需要创建一个数据类作为行数据的模型,

文件下载

资源详情

[{"title":"( 52 个子文件 174KB ) 秘诀::light_bulb::rocket::white_medium_star:Android上的RecyclerView通用适配器,可轻松将异构项目添加到列表中-源码","children":[{"title":"Mystique-master","children":[{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"mystique","children":[{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"co","children":[{"title":"upcurve","children":[{"title":"mystique","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 747B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"co","children":[{"title":"upcurve","children":[{"title":"mystique","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 397B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 111B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"default_layout.xml <span style='color:#111;'> 275B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"co","children":[{"title":"upcurve","children":[{"title":"mystique","children":[{"title":"MystiqueItem.kt <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"MystiqueItemPresenter.kt <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"MystiqueViewHolder.kt <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"MystiqueExtensions.kt <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"Presenter.kt <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"MystiqueAdapter.kt <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"Mystique.png <span style='color:#111;'> 31.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"co","children":[{"title":"upcurve","children":[{"title":"mystiquesample","children":[{"title":"ExampleInstrumentedTest.kt <span style='color:#111;'> 685B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"co","children":[{"title":"upcurve","children":[{"title":"mystiquesample","children":[{"title":"ExampleUnitTest.kt <span style='color:#111;'> 390B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.22KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 15.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 7.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"view_item_post.xml <span style='color:#111;'> 860B </span>","children":null,"spread":false},{"title":"view_item_banner.xml <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 562B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 11.27KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"co","children":[{"title":"upcurve","children":[{"title":"mystiquesample","children":[{"title":"models","children":[{"title":"PostModel.kt <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"BannerModel.kt <span style='color:#111;'> 252B </span>","children":null,"spread":false}],"spread":false},{"title":"MainActivity.kt <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"items","children":[{"title":"BannerItem.kt <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"PostItem.kt <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 870B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明