BottomSheet

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

Component for NiotronBottomSheet


Properties

You can set the below properties in the UI part of the builder.

  • CancelOnOutsideTouch - it's a boolean value which is set to true by default.
  • Cancelable - it's a boolean value which is set to true by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

CancelOnOutsideTouch

Makes the dialog cancleable when touvhed outside of the dialog


Cancelable

Makes the dialog cancleable


isShowing

Returns the dialog cancleable when touvhed outside of the dialog



Methods

You can set the below method blocks in the blocks section of the builder.

HideDialog

Hides the bottomsheet

InitializeDialog

Initializes the provided Component/Layout as BottomSheet

ShowDialog

Shows the bottomsheet


Events

You can set the below event blocks in the blocks section of the builder.

BottomSheetCanceled

Triggeres when BottomSheet canceled

BottomSheetDismissed

Triggeres when BottomSheet dismissed

BottomSheetOpened

Triggeres when BottomSheet opened