Answers for "tablayout default selected"

0

how to change tablayout current view position in android

void selectPage(int pageIndex){
    tabLayout.setScrollPosition(pageIndex,0f,true);
    viewPager.setCurrentItem(pageIndex);
}
Posted by: Guest on March-21-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language