开发者

Flex: tabbar used with viewstack => problem with element removal

开发者 https://www.devze.com 2023-01-27 06:02 出处:网络
When I remove an element from a viewstack then the b开发者_JAVA技巧ody is removed but the tabbar header is still displayed

When I remove an element from a viewstack then the b开发者_JAVA技巧ody is removed but the tabbar header is still displayed

I would like them both to be displayed.


If you use the viewstack as dataProvider for the tabbar, the tabs will be updated when the viewstack has children added/removed. Otherwise you'll have to update the tabs yourself by removing the corresponding element in the dataprovider of the TabBar.

0

精彩评论

暂无评论...
验证码 换一张
取 消