Android解决多个Fragment切换时布局重新实例化问题,并保存当前fragment页面,系统回收后还原之前fragment页面,更新版

上传者: fan7983377 | 上传时间: 2019-12-21 19:42:58 | 文件大小: 13.48MB | 文件类型: rar
Android解决多个Fragment切换时布局重新实例化问题,并保存当前fragment页面,系统回收后还原之前fragment页面,更新版

文件下载

资源详情

[{"title":"( 38 个子文件 13.48MB ) Android解决多个Fragment切换时布局重新实例化问题,并保存当前fragment页面,系统回收后还原之前fragment页面,更新版","children":[{"title":"README.txt <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"FragmentDemo","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;'> 872B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 696B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"fan","children":[{"title":"fragmentdemo","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 323B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"fan","children":[{"title":"fragmentdemo","children":[{"title":"ApplicationTest.java <span style='color:#111;'> 359B </span>","children":null,"spread":false}],"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;'> 10.24KB </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.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 78B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 216B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"anim","children":[{"title":"h_fragment_exit.xml <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"h_fragment_enter.xml <span style='color:#111;'> 291B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"fragment_one.xml <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"fragment_two.xml <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"fragment_three.xml <span style='color:#111;'> 722B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"fan","children":[{"title":"fragmentdemo","children":[{"title":"fragment","children":[{"title":"ThreeFragment.java <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"TwoFragment.java <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"OneFragment.java <span style='color:#111;'> 606B </span>","children":null,"spread":false}],"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 675B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 643B </span>","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;'> 231B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"intermediates","children":[{"title":"dex-cache","children":[{"title":"cache.xml <span style='color:#111;'> 64B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"generated","children":[{"title":"mockable-android-23.jar <span style='color:#111;'> 22.20MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 521B </span>","children":null,"spread":false}],"spread":true},{"title":"app-release.apk <span style='color:#111;'> 1.18MB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • 沐白001 :
    总结的不错,学习了
    2019-08-27
  • mayundoyouknow :
    学习了,谢谢
    2018-06-26
  • u012219806 :
    还可以不是很好
    2018-03-23
  • yori999 :
    学习下……
    2018-03-07
  • Musk66 :
    总结的不错,学习了
    2018-01-26

免责申明

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