使用LiveData的MVP模式Demo

上传者: mtaxot | 上传时间: 2021-04-10 14:47:14 | 文件大小: 2.04MB | 文件类型: ZIP
使用LiveData的MVP模式Demo,解决了传统MVP模式接口爆炸的问题,新的MVP设计模式耦合性更低,不强制用户必须实现大量接口

文件下载

资源详情

[{"title":"( 78 个子文件 2.04MB ) 使用LiveData的MVP模式Demo","children":[{"title":"NewMVP3","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":".gradle","children":[{"title":"buildOutputCleanup","children":[{"title":"cache.properties.lock <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"built.bin <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'> 54B </span>","children":null,"spread":false}],"spread":true},{"title":"4.0-rc-1","children":[{"title":"taskHistory","children":[{"title":"taskHistory.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"taskHistory.bin <span style='color:#111;'> 231.26KB </span>","children":null,"spread":false},{"title":"fileSnapshots.bin <span style='color:#111;'> 5.38MB </span>","children":null,"spread":false}],"spread":true},{"title":"fileHashes","children":[{"title":"fileHashes.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"fileHashes.bin <span style='color:#111;'> 464.25KB </span>","children":null,"spread":false},{"title":"resourceHashesCache.bin <span style='color:#111;'> 20.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"fileChanges","children":[{"title":"last-build.bin <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":true},{"title":"fileContent","children":[{"title":"fileContent.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false}],"spread":true},{"title":"javaCompile","children":[{"title":"javaCompile.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"classAnalysis.bin <span style='color:#111;'> 1.67MB </span>","children":null,"spread":false},{"title":"taskJars.bin <span style='color:#111;'> 30.41KB </span>","children":null,"spread":false},{"title":"taskHistory.bin <span style='color:#111;'> 430.93KB </span>","children":null,"spread":false},{"title":"jarAnalysis.bin <span style='color:#111;'> 866.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"databinding","children":[{"title":"com","children":[{"title":"zsm","children":[{"title":"newmvp","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"databinding","children":[{"title":"com","children":[{"title":"zsm","children":[{"title":"newmvp","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"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":true},{"title":"drawable","children":null,"spread":false},{"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":"values","children":[{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 69B </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},{"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":"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":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"databinding","children":[{"title":"com","children":[{"title":"zsm","children":[{"title":"newmvp","children":[{"title":"MainActivityPresenter.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"MainActivityModel.java <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"User.java <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"SequencePostLiveData.java <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 746B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app.iml <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"gradle.xml <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 179.35KB </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"reactive_streams_1_0_0.xml <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"animated_vector_drawable_26_1_0.xml <span style='color:#111;'> 711B </span>","children":null,"spread":false},{"title":"support_vector_drawable_26_1_0.xml <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"support_media_compat_26_1_0.xml <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"viewmodel_1_1_1.xml <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"appcompat_v7_26_1_0.xml <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"support_core_ui_26_1_0.xml <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"1_runtime_1_1_1.xml <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"reactivestreams_1_1_1.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"support_compat_26_1_0.xml <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"extensions_1_1_1.xml <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"support_v4_26_1_0.xml <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"livedata_1_1_1.xml <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"support_core_utils_26_1_0.xml <span style='color:#111;'> 681B </span>","children":null,"spread":false},{"title":"common_1_1_1.xml <span style='color:#111;'> 501B </span>","children":null,"spread":false},{"title":"livedata_core_1_1_1.xml <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"support_fragment_26_1_0.xml <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"common_java8_1_1_1.xml <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"runtime_1_1_1.xml <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"1_common_1_1_1.xml <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"support_annotations_26_1_0.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"local.properties <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"android-profile","children":[{"title":"profile-2018-07-04-14-28-08-135.json <span style='color:#111;'> 23.48KB </span>","children":null,"spread":false},{"title":"profile-2018-07-04-14-28-08-135.rawproto <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NewMVP.iml <span style='color:#111;'> 860B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 553B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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