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
Post a Comment