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 -

c++ - Migration from QScriptEngine to QJSEngine -

delphi - Take screenshot in webcam using VFrames in Console Application -