Fragment的使用—底部菜单栏以及数据的保存

上传者: u012082955 | 上传时间: 2021-05-19 10:35:08 | 文件大小: 10.91MB | 文件类型: ZIP
主要是使用Fragment来实现选项卡之间的切换(底部菜单栏),切换的同时保存每个Fragment中的数据。

文件下载

资源详情

[{"title":"( 88 个子文件 10.91MB ) Fragment的使用—底部菜单栏以及数据的保存","children":[{"title":"Screenshot_2013-11-28-17-43-05.png <span style='color:#111;'> 2.78MB </span>","children":null,"spread":false},{"title":"Screenshot_2013-11-28-17-42-17.png <span style='color:#111;'> 961.08KB </span>","children":null,"spread":false},{"title":"FragmentDemo","children":[{"title":".project <span style='color:#111;'> 848B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"hua","children":[{"title":"fragmentdemo","children":[{"title":"FragmentPage1.java <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"FragmentPage4.java <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"FragmentPage3.java <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"FragmentPage2.java <span style='color:#111;'> 426B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"info_bg.jpg <span style='color:#111;'> 91.36KB </span>","children":null,"spread":false},{"title":"icon_home_focus.png <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"icon_home.png <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"icon_friends.png <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"btn_focus_bg.png <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"icon_more_focus.png <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"icon_meassage.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"maintab_toolbar_bg.png <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"icon_friends_focus.png <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"home_bg.jpg <span style='color:#111;'> 300.27KB </span>","children":null,"spread":false},{"title":"friend_bg.jpg <span style='color:#111;'> 89.80KB </span>","children":null,"spread":false},{"title":"more_bg.jpg <span style='color:#111;'> 557.52KB </span>","children":null,"spread":false},{"title":"icon_more.png <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"icon_meassage_focus.png <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"home_btn_selector.xml <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"btn_selector.xml <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"more_btn_selector.xml <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"friends_btn_selector.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"message_btn_selector.xml <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"fragment_1.xml <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"fragment_2.xml <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"fragment_4.xml <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"fragment_3.xml <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"hua","children":[{"title":"fragmentdemo","children":[{"title":"BuildConfig.java <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 472.91KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"FragmentDemo.apk <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"hua","children":[{"title":"fragmentdemo","children":[{"title":"R$layout.class <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"FragmentPage4.class <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"FragmentPage3.class <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"FragmentPage2.class <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"FragmentPage1.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-da9b8c88d0cca523cc83179b0e05ddff.jar <span style='color:#111;'> 184.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"icon_home_focus.png <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"icon_home.png <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"icon_friends.png <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"btn_focus_bg.png <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"icon_more_focus.png <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"icon_meassage.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"maintab_toolbar_bg.png <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"icon_friends_focus.png <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"icon_more.png <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"icon_meassage_focus.png <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 546.93KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"Screenshot_2013-11-28-17-42-44.png <span style='color:#111;'> 1.40MB </span>","children":null,"spread":false},{"title":"Screenshot_2013-11-28-17-42-01.png <span style='color:#111;'> 1.62MB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • 牧马人在此 :
    过于简单,分数要的高
    2021-02-20
  • 小伙闯天下 :
    虽然简单,但是大巧若工
    2017-08-04
  • coco_bin :
    项目确实可用,我测试过了。
    2016-06-05
  • weidong20 :
    有帮助,值得一看
    2015-10-20
  • 竹和蕉的缘分 :
    很不错,对我的帮助很大
    2015-09-28

免责申明

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