Jetpack Compose Card Click

December 17, 2021
Card(
    modifier = Modifier
        .fillMaxWidth()
        .padding(8.dp)
        /*
        .clickable {
            Timber.d("Clickable")
            navigateToCard(card.id)
        }

         */
    ,
    shape = RoundedCornerShape(8.dp),
    backgroundColor = MaterialTheme.colors.surface,
    elevation = 4.dp,
    onClick = {
        Timber.d("onClick")
    }
) {
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.