更新的Android SDK API中的TabListener问题23 [英] Issue with TabListener in updated Android SDK API 23

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

问题描述

我已经将android SDK更新为API 23.在工作时我偶然使用了对ActionBar.TabListener库的弃用,ActionBar.TabListener的替换是什么。





我在我的项目中引入Tabs

I have updated android SDK to API 23. While working I came across deprecation of "ActionBar.TabListener" library while using along, what are the replacements of ActionBar.TabListener.


I am introducing Tabs in my project

推荐答案

ActionBar.TabListener [ ^ ]在API级别21中已弃用,它们提供了该文档的原因供开发人员阅读,如果您错过了它,

ActionBar.TabListener[^] was deprecated in API level 21 and they provided a reason on that documentation for developers to read, in case you missed it,
Quote:

不推荐使用操作栏导航模式,内联工具栏操作栏不支持。

Action bar navigation modes are deprecated and not supported by inline toolbar action bars.

Android团队自己提供了其他指南的链接应该考虑使用 [ ^ ]比这个弃用的API。

Android team themselves provided the link to other guides that you should consider using[^] rather than this deprecated API.


这篇关于更新的Android SDK API中的TabListener问题23的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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