NavigationTabBar icon indicating copy to clipboard operation
NavigationTabBar copied to clipboard

I try to change title in runtime.But it won't be changed everytime.

Open DarrenWorks opened this issue 6 years ago • 0 comments

Here is my code. mBinding.tabs.setOnTabBarSelectedIndexListener(new NavigationTabBar.OnTabBarSelectedIndexListener() {

        @Override
        public void onEndTabSelected(NavigationTabBar.Model model, int index) {
           if (index == 2) {
               model.setTitle("刷新");
           } else {
               mBinding.tabs.getModels().get(2).setTitle("发现");
           }
        }
    });

Thanks for helping. ASAP

DarrenWorks avatar Oct 15 '19 01:10 DarrenWorks