ActionBarSherlock 是否允许启用/禁用 ActionBar.Tab?
在我的应用程序中,我想使用 ActionBarSherlock 因为它完全适合该项目。 我遇到的唯一问题是我有一个带有选项卡的屏幕,其中一些选项卡需要禁用:
只有第三个选项卡应可单击。 当用户登录时,其他类别将在下一个屏幕中启用。
有没有一种干净的方法来做这样的事情?
In my app I want to use ActionBarSherlock because it completely fit to the project.
The only problem I have is that I have a screen with tabs and some of them need to be disabled:
Only the third tab should be clickable.
Other category will be enabled in next screens when the user's logged in.
Is there a clean way to do such a thing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你能在 TabListener 中处理这种行为吗?如果其他选项卡尚未启用,则将选项卡恢复为选项卡 3。
Could you handle that behaviour in the TabListener? and revert the tab back to tab3 if the others haven't been enabled.