When my activity is initialized, I fill an ASTabMenu with code like this:
For x = 1 To <somevalue>
palbar.AddTab(<parameters>)
Next
But when something important changes, I want a whole new set of tabs.
The view has a .RemoveAt() method, and I suppose I could just .RemoveAt(0) until it goes 'ping', but is there a better way?
There is an .Initialize() method, but that wants a CallBack parameter, and I have no idea what to give it there..
ASTabMenu.TabSize is 'number of Tabs'?
I would not have guessed that.
I thought it was something to do with the size... was expecting ASTabMenu.Tabs.count or ASTabMenu.TabCount
I did use that approach, but trapped my potential 'ping' in a try catch..
basically DoWhile until I got an exception, then set a boolean flag to exit the DoWhile.