use of com.roughike.bottombar.OnTabSelectListener in project BottomBar by roughike.
the class ThreeTabsQRActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_three_tabs_quick_return);
BottomBar bottomBar = (BottomBar) findViewById(R.id.bottomBar);
// We're doing nothing with this listener here this time. Check example usage
// from ThreeTabsActivity on how to use it.
bottomBar.setOnTabSelectListener(new OnTabSelectListener() {
@Override
public void onTabSelected(@IdRes int tabId) {
}
});
}
Aggregations