Android中ViewPager+Fragment的使用(页卡式切换下方带滚动条)

上传者: u011387921 | 上传时间: 2021-05-06 21:15:19 | 文件大小: 2.39MB | 文件类型: ZIP
ViewPager+Fragment的用法在android开发中比较常见,最近刚好要实现这个功能,写个笔记记录下来,以供参考。

文件下载

资源详情

[{"title":"( 59 个子文件 2.39MB ) Android中ViewPager+Fragment的使用(页卡式切换下方带滚动条)","children":[{"title":"viewpagerFragmentTest","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 1.18MB </span>","children":null,"spread":false},{"title":"viewpagerFragmentTest.apk <span style='color:#111;'> 446.37KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"ic_blue_bg_i.png <span style='color:#111;'> 85B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-7fe133b425a4664c1d1488ab005fb8b6.jar <span style='color:#111;'> 395.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"viewpagerfragmenttest","children":[{"title":"MainActivity.class <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"MainActivity$tvOnclickListener.class <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"MyFragmentPagerAdapter.class <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"ContactFragment.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"DynamicFragment.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"MessageFragment.class <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 476B </span>","children":null,"spread":false},{"title":"MainActivity$MyOnPageChangeListener.class <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 43.09KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 876B </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"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;'> 383B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"ic_blue_bg_i.png <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"ic_cursor.9.png <span style='color:#111;'> 214B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 238B </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":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_contact.xml <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"fragment_dynamic.xml <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"fragment_message.xml <span style='color:#111;'> 491B </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":true}],"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":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"viewpagerfragmenttest","children":[{"title":"BuildConfig.java <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"viewpagerfragmenttest","children":[{"title":"DynamicFragment.java <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"MyFragmentPagerAdapter.java <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"ContactFragment.java <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"MessageFragment.java <span style='color:#111;'> 488B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • bjzk_2012_zk :
    不错,值得借鉴。
    2018-03-17
  • 我不是咸鱼 :
    还行洛,值得鉴赏。
    2015-09-28
  • qq_23136389 :
    不错,值得借鉴。
    2015-09-27

免责申明

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