Skip to content

proper usage of context.eventHandler #335

Answered by rjrjr
doug-precocity asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need the outer lambda.

return DiscoverRendering(
 onItemSelected = context.eventHandler { info -> 
    setOutput(DiscoverOutput(info)) 
  }
)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@doug-precocity
Comment options

Answer selected by doug-precocity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants