ActionBarActivity和ActionBar.TabListener的是Android标签片段(Eclipse的API 22)内pcated德$ P $ [英] ActionBarActivity and ActionBar.TabListener is deprecated inside Android Tab Fragment ( Eclipse ApI 22 )

查看:141
本文介绍了ActionBarActivity和ActionBar.TabListener的是Android标签片段(Eclipse的API 22)内pcated德$ P $的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我实施我的选项片段ActionBar.TabListener。

I am implementing the ActionBar.TabListener in My Tab Fragment .

我更新了API 22,更新它显示出后的 ActionBar.TabListener ActionBarActivity 德precated。

I Updated the ApI 22, After updating it showing ActionBar.TabListener and ActionBarActivity is deprecated.

喜欢我在我的code使用了

Like this i have used in my code

public class Tabview_Landing extends ActionBarActivity  implements ActionBar.TabListener 
{
}

链接我提到 -

帮我解决这个问题。

推荐答案

ActionBarActivity 是由 AppCompatActivity 代替。

操作栏标签可以被替换为:

Action bar tabs can be replaced by:

ViewPager 并为它自己喜欢的其他标签解决方案,不管是 PagerTabStrip 或<一个HREF =htt​​p://android-arsenal.com/tag/111相对=nofollow>任意数量的第三方标签实现;或

a ViewPager and your favorite other tab solution for it, whether that be PagerTabStrip or any number of third-party tab implementations; or

FragmentTabHost

这篇关于ActionBarActivity和ActionBar.TabListener的是Android标签片段(Eclipse的API 22)内pcated德$ P $的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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