public interface BottomSheetFragmentInterface
Fragment to make it compatible with
BottomSheetFragmentDelegate. You should only have to implement| Modifier and Type | Method and Description |
|---|---|
void |
dismiss()
Dismiss the fragment and it's bottom sheet.
|
void |
dismissAllowingStateLoss()
Version of
dismiss() that uses FragmentTransaction.commitAllowingStateLoss(). |
com.flipboard.bottomsheet.ViewTransformer |
getViewTransformer()
Override this to proved a custom
ViewTransformer. |
void |
show(android.support.v4.app.FragmentManager manager,
int bottomSheetLayoutId)
Display the bottom sheet, adding the fragment to the given FragmentManager.
|
int |
show(android.support.v4.app.FragmentTransaction transaction,
int bottomSheetLayoutId)
Display the bottom sheet, adding the fragment using an excising transaction and then
committing the transaction.
|
void show(android.support.v4.app.FragmentManager manager,
@IdRes
int bottomSheetLayoutId)
manager - The FragmentManager this fragment will be added to.bottomSheetLayoutId - The bottom sheet layoutId in the parent view to attach the
fragment to.int show(android.support.v4.app.FragmentTransaction transaction,
@IdRes
int bottomSheetLayoutId)
transaction - An existing transaction in which to add the fragment.bottomSheetLayoutId - The bottom sheet layoutId in the parent view to attach the
fragment to.void dismiss()
void dismissAllowingStateLoss()
dismiss() that uses FragmentTransaction.commitAllowingStateLoss().
See linked documentation for further details.com.flipboard.bottomsheet.ViewTransformer getViewTransformer()
ViewTransformer.