Skip to content

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

@DarrenWorks

Description

@DarrenWorks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions