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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -