阅读背景:

在TabLayout(材料设计)android中动态添加和删除选项卡

来源:互联网 

I have a TabLayout and inside that I have ViewPager. I need to dynamically add and remove tab in tablayout(material design). I can able to add the tabs dynamically but while removing the tab, tab is removing correctly. But viewpager last item is deleted. So tab is not showing specific fragment. FYI i have used FragmentPagerAdapter.I have a TabLayout and inside that I have ViewP




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: