Skip to content

Instantly share code, notes, and snippets.

@pandulapeter
Created October 8, 2019 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandulapeter/3fe96473b7de8af5ec71d85ef6e1b9a1 to your computer and use it in GitHub Desktop.
Save pandulapeter/3fe96473b7de8af5ec71d85ef6e1b9a1 to your computer and use it in GitHub Desktop.
Beagle example - SingleSelectionList trick
Trick.SingleSelectionList(
title = "Backend environment",
items = environments,
isInitiallyExpanded = true,
initialSelectionId = preferenceManager.environmentId,
onItemSelectionChanged = { environment -> changeEnvironment(environment.id) }
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment