Skip to content

Instantly share code, notes, and snippets.

@molidev8
Created December 7, 2022 19:04
Show Gist options
  • Save molidev8/49b1073ce835734d6dd40eee9ea195f5 to your computer and use it in GitHub Desktop.
Save molidev8/49b1073ce835734d6dd40eee9ea195f5 to your computer and use it in GitHub Desktop.
CustomSwitchType to modelate the type
sealed class CustomSwitchType {
object Vanilla : CustomSwitchType()
object CustomThumbSmallSwitch : CustomSwitchType()
object CustomThumbBigSwitch : CustomSwitchType()
object CustomTrackPillSwitch : CustomSwitchType()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment