Skip to content

Commit

Permalink
Example on how to check BottomSheet state
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStefan committed Mar 14, 2020
1 parent 4c83895 commit 87e99bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions XBottomSheet.Samples/XBottomSheet.Touch/ViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit 87e99bc

Please sign in to comment.