We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At fifth step
@Composable fun ListItem( input: Juice, onEdit: (Juice) -> Unit, onDelete: (Juice) -> Unit, modifier: Modifier = Modifier ) { }
onEdit: (Juice) -> Unit, should be removed from this composable function
onEdit: (Juice) -> Unit,
as onEdit is used in bind method
fun bind(input: Juice) { composeView.setContent { ListItem( input, onDelete, modifier = Modifier .fillMaxWidth() .clickable { onEdit(input) } .padding(vertical = 8.dp, horizontal = 16.dp), ) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At fifth step
onEdit: (Juice) -> Unit,
should be removed from this composable functionas onEdit is used in bind method
The text was updated successfully, but these errors were encountered: