V4包遇见的一些问题
来源:互联网 发布:程序员资料网站 编辑:程序博客网 时间:2024/05/21 19:26
//recommendListView = (ListView) findViewById(R.id.cycle_recommend_lv);//TODO 现在只要把 Fragment 添加进去就可以了 ListFragment 是符合规范的 适配好的//recommendListView.setAdapter(new RecommendAdapter(sReturn,recommendListView));FragmentManager fragmentManager = getSupportFragmentManager();FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();ListFragment fragment = new ListFragment();fragmentTransaction.replace(R.id.recommend_lv, fragment);fragmentTransaction.commit();
学习了,当使用了V4包的东西,必须使用getSupport的包下的
0 0
- V4包遇见的一些问题
- mysql 的一些常遇见问题
- Java遇见的一些概念问题
- Android Studio打包遇见的一些问题
- 初次使用git遇见的一些问题
- WebView中遇见的一些问题
- Android OOM遇见的一些问题
- 工作中遇见的一些问题总结
- 使用android兼容包android-support-v4.jar出现的一些问题
- 使用android兼容包android-support-v4.jar出现的一些问题
- 关于V4、V7包重复的问题
- 最近遇见的一些关于openssl的问题
- ECLIPSE下部署tomcat时遇见的一些问题
- 在VS中使用cocos2d-x遇见的一些问题
- 安装openstack 时 遇见的一些问题及解决方法!
- 最近使用Android studio 2.0 遇见的一些问题
- matlab建模遇见的一些问题和解决方法
- 关于cloudstack中遇见的一些问题处理笔记
- Android ListView 子控件onClick正确获取position
- 循序渐进地代码重构
- RobotArt中环境校准方法(2)-工件校准
- Hawq学习笔记 --- MPP(大规模并行处理)架构(Massively Parallel Processing)
- MySQL语句增加字段,修改字段名,修改类型,修改默认值
- V4包遇见的一些问题
- Android 防界面劫持方案,无视Android系统版本限制,无需操作栈
- python题目-----import module和from import选择
- Java基本概念-抽象类和接口
- yum和编译两种方式升级or降级Centos内核
- 几种智能指针的比较(std::auto_ptr、boost::scoped_ptr、boost::shared_ptr、boost::weak_ptr)
- cocos2dx3.x 使用libluacocos2d库 问题
- 欢迎使用CSDN-markdown编辑器
- 横向的GridView