Android的API TabActivity德precation [英] android API TabActivity deprecation

查看:141
本文介绍了Android的API TabActivity德precation的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

那么,IM开发和应用的API 8 TabActivity 但我今天发现了该类德precated。

Well, im developing and app for api 8 with TabActivity but i found out today that "This class is deprecated."

因此​​,我们应该使用 FragmentActivity 从现在到实现标签?而是当我想显示列表视图与活动是什么?我一定要使用 ListFragment (但这是自:API级别11)

So we should use FragmentActivity from now to implements tabs? but what about when i want to show a listview with an activity? Do i have to use ListFragment (but this is "Since: API Level 11")

由于任何人都可以看到,即时通讯混淆有关如何继续前进。

As anyone can see, im confuse about how to move on.

这将是巨大的,如果有人能提供我这个问题,制表符,片段和其他有用的建议(的 AsyncTaskLoader 只是api11?)

It would be great if someone can provide me good and clear concepts about this issues, tabs, fragment and any other useful advice (AsyncTaskLoader just for api11?)

顺便说一句,我读了片段可以是因为API 1使用,但现在我无法找到。请帮助:(

btw, i was reading that fragment can be use since api 1 but now i can't find that. please help :(

编辑:刚刚重新更改标题的Cuz ListFragment不是去precated。如果我不是想这样做,对不起PLZ纽比这里:D

edit: just re change the title cuz ListFragment wasn't deprecated. If i am not suppose to do that, plz sorry newby here :D

推荐答案

您可以使用使用 Android的支持 - v4.jar 使用片段低版本

You can use use android-support-v4.jar to use fragment in lower version

  • Fragments For All
  • Using Fragment of Android Compatibility Package

这篇关于Android的API TabActivity德precation的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆