what is the problem? why it does not show up this method "tableLayout.getTabCounter()"
i tried this
dependencies
CodePudding user response:
Please read How do I ask a good question and not post images of code, post the code as correctly formatted text.
But the answer to your question is TableLayout does not have Tabs
to count, you have a Typo as you really mean TabLayout
Change your call of tableLayout.getTabCounter()
to tabLayout.getTabCounter()