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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -