Skip to content
Discussion options

You must be logged in to vote

Hi! Sorry for a bit of a late reply (didn't get the email about this).
Without knowing what exact errors you are seeing, and just by screenshots, it's hard to help you.
Can you please provide code as text with formatting, and tell me what build errors you're facing?

Judging by the screenshot alone, it looks like you are extending an immutable container. You need to expose the immutable container type. Inside your viewModel, try putting explicit type:

val store: Store<AuthState, AuthIntent, AuthAction> by store { }.

This way, you will have a mutable interface which has the intent() function you want. As for why reduceLambdas doesn't work, it's because your Intent type is likely a class and…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pshypher
Comment options

Answer selected by Pshypher
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