码迷,mamicode.com
首页 >  
搜索关键字:fragment actionbar    ( 3914个结果
Fragment中如何获取listview
============问题描述============ 我的FileFragment继承了Fragment,现在我想要在FileFragment中获取获取file.xml中的一个listview,我用了下面两种方式://fileListView=(ListView)getActivity().fi...
分类:其他好文   时间:2014-10-24 10:31:14    阅读次数:121
告别ActionBarSherlock——Android.support包也能打造兼容2.x的ActionBar(1)
http://www.bdqn.cn/news/201308/10625.shtml摘要:告别ActionBarSherlock——android.support包也能打造兼容2.x的ActionBar(1)ActionBar是Android 3.0的产物 一直延伸到现在最新的4.3就个人而言 Ac...
分类:移动开发   时间:2014-10-23 23:58:05    阅读次数:345
2.App Components-Activities/Fragments
1. Fragments A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity.....
分类:移动开发   时间:2014-10-23 22:20:50    阅读次数:458
Fragment 设置主题
Fragment 设置主题...
分类:其他好文   时间:2014-10-23 16:25:21    阅读次数:382
【Android】保存Fragment切换状态
【Android】保存Fragment切换状态由易信界面——谈谈fragment 状态的保存
分类:移动开发   时间:2014-10-23 14:21:39    阅读次数:142
Adapter
在一个 Android 应用中,我使用 FragmentPagerAdapter 来处理多 Fragment 页面的横向滑动。不过我碰到了一个问题,即当 Fragment 对应的数据集发生改变时,我希望能够通过调用 mAdapter.notifyDataSetChanged() 来触发 Fragme...
分类:其他好文   时间:2014-10-23 12:18:29    阅读次数:211
Fragment
1. 什么是Fragment2. 什么时候使用Fragment3. Fragment程序的编写方法4. Fragment的生命周期5. Fragment与Activity之间的交互6. Fragment的回调机制1. 什么是Fragment 同时封装布局和代码的组件2. 什么时候使用Fragmen....
分类:其他好文   时间:2014-10-23 12:03:40    阅读次数:128
android--fragment详解
Fragment(碎片)是作为android3.0(api level 11)发布版本的一部分而引入的;Fragment允许将activity拆分成多个完全独立封装的可重用的组件,每个组件有它自己的生命周期和ui布局。Fragment包含了一系列和acitivity类相像的事件处理程序。当Fra.....
分类:移动开发   时间:2014-10-22 23:32:36    阅读次数:251
fragment 中利用spinner实现省市联动
(1)布局文件就不在说明了,主要说代码的实现,先把代码贴上!package com.example.cl;import android.annotation.SuppressLint;import android.app.Fragment;import android.os.Bundle;impor...
分类:其他好文   时间:2014-10-22 23:16:37    阅读次数:170
Android - Fragment BackStack 清空
Fragment BackStack 清空int backStackCount = getFragmentManager().getBackStackEntryCount();for(int i = 0; i < backStackCount; i++) { getFragmentMan...
分类:移动开发   时间:2014-10-22 21:36:18    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!