问题描述
是否可以从MvxTabsFragmentActivity继承的类中删除选项卡?我的意思是,当前只有用于添加选项卡的AddTab<T>()
方法. 但是,如果我要删除标签怎么办?
Is there any way to remove tabs from an MvxTabsFragmentActivity-inherited class? I mean, currently there's only AddTab<T>()
method for adding tabs. But, what if I want to remove tabs?
TIA,
拍子
推荐答案
否-MvxTabsFragmentActivity当前不提供任何RemoveTab
功能.
No - MvxTabsFragmentActivity doesn't provide any RemoveTab
functionality currently.
此活动的来源是 https://github.com/MvvmCross/MvvmCross/blob/v3.1/Cirrious/Cirrious.MvvmCross.Droid.Fragging/MvxTabsFragmentActivity.cs -您应该可以以此为起点您自己的需求.
The source for this activity is https://github.com/MvvmCross/MvvmCross/blob/v3.1/Cirrious/Cirrious.MvvmCross.Droid.Fragging/MvxTabsFragmentActivity.cs - you should be able to use this as a starting point for your own needs.
这篇关于MvxTabsFragmentActivity-删除选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!