本文整理汇总了Java中biz.laenger.android.vpbs.BottomSheetUtils类的典型用法代码示例。如果您正苦于以下问题:Java BottomSheetUtils类的具体用法?Java BottomSheetUtils怎么用?Java BottomSheetUtils使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BottomSheetUtils类属于biz.laenger.android.vpbs包,在下文中一共展示了BottomSheetUtils类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setupViewPager
import biz.laenger.android.vpbs.BottomSheetUtils; //导入依赖的package包/类
private void setupViewPager() {
bottomSheetToolbar.setTitle(R.string.action_bottom_sheet_dialog);
bottomSheetViewPager.setOffscreenPageLimit(1);
bottomSheetViewPager.setAdapter(new SimplePagerAdapter(getContext()));
bottomSheetTabLayout.setupWithViewPager(bottomSheetViewPager);
BottomSheetUtils.setupViewPager(bottomSheetViewPager);
}
示例2: setupBottomSheet
import biz.laenger.android.vpbs.BottomSheetUtils; //导入依赖的package包/类
private void setupBottomSheet() {
bottomSheetToolbar.setTitle(R.string.bottom_sheet_title);
final PagerAdapter sectionsPagerAdapter = new PagerAdapter(getSupportFragmentManager(), this, TabItem.NESTED_SCROLL, TabItem.VIEW_PAGER, TabItem.RECYCLER, TabItem.RECYCLER);
bottomSheetViewPager.setOffscreenPageLimit(1);
bottomSheetViewPager.setAdapter(sectionsPagerAdapter);
bottomSheetTabLayout.setupWithViewPager(bottomSheetViewPager);
BottomSheetUtils.setupViewPager(bottomSheetViewPager);
}
示例3: setupViewPager
import biz.laenger.android.vpbs.BottomSheetUtils; //导入依赖的package包/类
@AfterViews
void setupViewPager() {
BottomSheetUtils.setupViewPager(viewPager);
viewPager.setAdapter(new GoodsPagerAdapter(getChildFragmentManager()));
circleIndicator.setViewPager(viewPager);
// temporary fix to show the global stock menu first as the others havent been implemented yet
viewPager.setCurrentItem(4);
}
示例4: setupNestedViewPager
import biz.laenger.android.vpbs.BottomSheetUtils; //导入依赖的package包/类
private void setupNestedViewPager() {
final PagerAdapter sectionsPagerAdapter = new PagerAdapter(getChildFragmentManager(), getContext(), TabItem.NESTED_SCROLL, TabItem.RECYCLER);
viewPager.setAdapter(sectionsPagerAdapter);
tabLayout.setupWithViewPager(viewPager);
BottomSheetUtils.setupViewPager(viewPager);
}
示例5: setupBottomSheet
import biz.laenger.android.vpbs.BottomSheetUtils; //导入依赖的package包/类
@AfterViews
void setupBottomSheet() {
BottomSheetUtils.setupViewPager(viewPager);
viewPager.setAdapter(new SettlersPagerAdapter(getChildFragmentManager()));
circleIndicator.setViewPager(viewPager);
}
示例6: setupBottomSheet
import biz.laenger.android.vpbs.BottomSheetUtils; //导入依赖的package包/类
@AfterViews
void setupBottomSheet() {
BottomSheetUtils.setupViewPager(viewPager);
viewPager.setAdapter(new BuildingsPagerAdapter(getChildFragmentManager()));
circleIndicator.setViewPager(viewPager);
}