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? -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -

qt - Microsoft FTP Service 451 The parameter is incorrect -