Skip to content

Instantly share code, notes, and snippets.

@lelandrichardson
Created August 27, 2020 21:53
Show Gist options
  • Save lelandrichardson/855402b26fe54795d15cd10245663388 to your computer and use it in GitHub Desktop.
Save lelandrichardson/855402b26fe54795d15cd10245663388 to your computer and use it in GitHub Desktop.
// function declaration
@Composable fun MyFun() { … }
// lambda declaration
val myLambda = @Composable { … }
// function type
fun MyFun(myParam: @Composable () -> Unit) { … }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment