proper usage of context.eventHandler #335
Answered
by
rjrjr
doug-precocity
asked this question in
Q&A
-
My initial impression was that
Is there some mistake I'm overlooking here, or are these meant to be used in different situations? |
Beta Was this translation helpful? Give feedback.
Answered by
rjrjr
Feb 22, 2021
Replies: 1 comment 1 reply
-
You don't need the outer lambda. return DiscoverRendering(
onItemSelected = context.eventHandler { info ->
setOutput(DiscoverOutput(info))
}
) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
doug-precocity
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need the outer lambda.