How to get active tab position in android material -


how active tab position in material tabs?
1 me.

try

tablayout tablayout = (tablayout) findviewbyid(r.id.tabs); tablayout.getselectedtabposition(); 

Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

c# - Get the Class name in a class with atribute inside a attribute method -

javascript - Why Selenium can't find an element that is graphically visible -