Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void showFragment(String tabType) {
- FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
- baseTabBottomFragment = new BaseTabBottomFragment();
- //send data to fragment
- Bundle bundle = new Bundle();
- bundle.putString(KeyConstant.TAB_BOTTOM, tabType);
- baseTabBottomFragment.setArguments(bundle);
- ft.add(R.id.frame_container, baseTabBottomFragment, tabType);
- ft.addToBackStack(tabType);
- ft.commit();
- }
Add Comment
Please, Sign In to add comment