文件名称:android_fragment

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2015-10-28
  • 文件大小:
  • 1.5mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • l**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

Android运行在各种各样的设备中,有小屏幕的手机,超大屏的平板甚至电视。针对屏幕尺寸的差距,很多情况下,都是先针对手机开发一套App,然后拷贝一份,修改布局以适应平板神马超级大屏的。难道无法做到一个App可以同时适应手机和平板么,当然了,必须有啊。Fragment的出现就是为了解决这样的问题。你可以把Fragment当成Activity的一个界面的一个组成部分,甚至Activity的界面可以完全有不同的Fragment组成,更帅气的是Fragment拥有自己的生命周期和接收、处理用户的事件,这样就不必在Activity写一堆控件的事件处理的代码了。更为重要的是,你可以动态的添加、替换和移除某个Fragment。-Android running on a variety of devices, there is a small screen mobile phone, tablet or even a large-screen TV. For screen size disparity, in many cases, it is the first to develop a set for mobile App, then copy, modify the layout to accommodate the flat Shenma super large screen. Do not do a App can simultaneously accommodate mobile phones and tablet Why, of course, there must be ah. The emergence of Fragment is to solve this problem. You can put Fragment as an integral part of the Activity interface, and even the Activity interface can be completely different Fragment composition is more handsome Fragment has its own life cycle and for receiving, processing user events, so you do not write in Activity a bunch of event handling code control. More importantly, you can dynamically add, replace and remove a Fragment.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





android_fragment

................\.classpath

................\.project

................\.settings

................\.........\org.eclipse.core.resources.prefs

................\AndroidManifest.xml

................\assets

................\......\MainActivity3.java

................\bin

................\...\android_fragment.apk

................\...\AndroidManifest.xml

................\...\classes

................\...\.......\com

................\...\.......\...\example

................\...\.......\...\.......\android_fragment

................\...\.......\...\.......\................\BuildConfig.class

................\...\.......\...\.......\................\MainActivity.class

................\...\.......\...\.......\................\MainActivity2$1.class

................\...\.......\...\.......\................\MainActivity2.class

................\...\.......\...\.......\................\MainActivity3$1.class

................\...\.......\...\.......\................\MainActivity3.class

................\...\.......\...\.......\................\MainActivity4$1.class

................\...\.......\...\.......\................\MainActivity4.class

................\...\.......\...\.......\................\MyFragment$1.class

................\...\.......\...\.......\................\MyFragment.class

................\...\.......\...\.......\................\MyFragment2.class

................\...\.......\...\.......\................\MyFragment3.class

................\...\.......\...\.......\................\MyFragment4.class

................\...\.......\...\.......\................\MyFragment5$MyListener.class

................\...\.......\...\.......\................\MyFragment5.class

................\...\.......\...\.......\................\R$attr.class

................\...\.......\...\.......\................\R$color.class

................\...\.......\...\.......\................\R$dimen.class

................\...\.......\...\.......\................\R$drawable.class

................\...\.......\...\.......\................\R$id.class

................\...\.......\...\.......\................\R$layout.class

................\...\.......\...\.......\................\R$menu.class

................\...\.......\...\.......\................\R$string.class

................\...\.......\...\.......\................\R$style.class

................\...\.......\...\.......\................\R.class

................\...\classes.dex

................\...\dexedLibs

................\...\.........\android-support-v4-07ab575b4404ee6570ca0afda0b678be.jar

................\...\jarlist.cache

................\...\res

................\...\...\crunch

................\...\...\......\drawable-hdpi

................\...\...\......\.............\ic_launcher.png

................\...\...\......\drawable-mdpi

................\...\...\......\.............\ic_launcher.png

................\...\...\......\drawable-xhdpi

................\...\...\......\..............\ic_launcher.png

................\...\...\......\drawable-xxhdpi

................\...\...\......\...............\ic_launcher.png

................\...\resources.ap_

................\gen

................\...\com

................\...\...\example

................\...\...\.......\android_fragment

................\...\...\.......\................\BuildConfig.java

................\...\...\.......\................\R.java

................\ic_launcher-web.png

................\libs

................\....\android-support-v4.jar

................\proguard-project.txt

................\project.properties

................\res

................\...\drawable

................\...\........\radio_pressed.xml

................\...\drawable-hdpi

................\...\.............\ic_launcher.png

................\...\drawable-ldpi

................\...\drawable-mdpi

................\...\.............\ic_launcher.png

................\...\drawable-xhdpi

................\...\..............\ic_launcher.png

................\...\drawable-xxhdpi

................\...\...............\ic_launcher.png

................\...\layout

................\...\.

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org