Home > Software design >  the method "tableLayout.getTabCounter()" does not show
the method "tableLayout.getTabCounter()" does not show

Time:12-07

this is the code

what is the problem? why it does not show up this method "tableLayout.getTabCounter()"

i tried this

dependencies

enter image description here

enter image description here

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()

  • Related