Skip to content

Commit 87e99bc

Browse files
committed
Example on how to check BottomSheet state
1 parent 4c83895 commit 87e99bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ void BtMain_TouchUpInside(object sender, EventArgs e)
5151
var customView = CustomView.Create();
5252
customView.Frame = View.Frame;
5353
bottomSheetViewController.SetCustomView(customView);
54+
55+
// Check what CurrentState of the BottomSheetViewController
56+
var checkState = bottomSheetViewController.CurrentState;
5457
}
5558
}
5659
}

0 commit comments

Comments
 (0)