android - What is the best way to find out the number of Tabs in a TabActivity? -


i create tabs dynamically in tabactivity. there simple way ask number of existing tabs?

maybe bit of workaround, should able use: gettabhost().gettabwidget().gettabcount().

i tested in app , worked correctly.

see here more info: http://developer.android.com/reference/android/widget/tabwidget.html#gettabcount()


Comments

Popular posts from this blog

objective c - Newbie question -multiple parameters -

iphone - Using nested NSDictionary with Picker -

php - accessing mysql using different server to which db connection data is located -