From 87e99bcc149fa266c26cd49b9b4ee1fafa943c81 Mon Sep 17 00:00:00 2001 From: Alexandru Stefan Date: Sat, 14 Mar 2020 14:42:52 +0100 Subject: [PATCH] Example on how to check BottomSheet state --- XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs b/XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs index fe13f43..c57a2ce 100644 --- a/XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs +++ b/XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs @@ -51,6 +51,9 @@ void BtMain_TouchUpInside(object sender, EventArgs e) var customView = CustomView.Create(); customView.Frame = View.Frame; bottomSheetViewController.SetCustomView(customView); + + // Check what CurrentState of the BottomSheetViewController + var checkState = bottomSheetViewController.CurrentState; } } } \ No newline at end of file