Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to change tablayout current view position in android

void selectPage(int pageIndex){
    tabLayout.setScrollPosition(pageIndex,0f,true);
    viewPager.setCurrentItem(pageIndex);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #tablayout #current #view #position #android
ADD COMMENT
Topic
Name
5+3 =