本文整理匯總了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);
}