Yingding Wang
10/29/2022, 10:10 PMWear Compose 1.1.0-beta01 and compose 1.3.0 . Is there an example how to define CompactChip and make it clickable?
CompactChip(
modifier = modifier.padding(top = 8.dp),
onClick = onClick,
label = {
Text(
text = stringResource(R.string.click_me),
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
}
)yschimke
10/29/2022, 10:58 PMYingding Wang
10/30/2022, 10:43 AMPagerScreen using horologist 0.1.15 with compose 1.3.0 and wear compose 1.1.0 beta01.
The click event doesn’t seem to be forwarded to the second page, as i put the compat chip on the first page of PagerScreen, then it is clickable. Might be a bug combi for horologist with compose 1.3.0 and wear compose 1.1.0-beta01
I will open an issue for horologist.yschimke
10/30/2022, 10:56 AMYingding Wang
10/30/2022, 11:37 AMyschimke
10/30/2022, 7:30 PMyschimke
10/31/2022, 10:25 AMyschimke
10/31/2022, 10:25 AMPagerScreen(
modifier = Modifier
.fillMaxSize()
.edgeSwipeToDismiss(swipeDismissState),yschimke
10/31/2022, 10:27 AMYingding Wang
10/31/2022, 12:58 PMJohn Nichol
10/31/2022, 1:26 PMyschimke
10/31/2022, 2:24 PMstevebower
11/02/2022, 12:07 PMstevebower
11/03/2022, 2:00 PMYingding Wang
11/03/2022, 2:26 PMyschimke
11/03/2022, 2:31 PMstevebower
11/03/2022, 2:34 PMYingding Wang
11/03/2022, 3:29 PMyschimke
11/03/2022, 3:30 PMYingding Wang
11/03/2022, 3:35 PM