Jeff Lockhart
04/16/2024, 1:07 PMCLOVIS
04/16/2024, 1:27 PMJeff Lockhart
04/16/2024, 2:00 PMCLOVIS
04/16/2024, 2:03 PMJeff Lockhart
04/16/2024, 2:03 PMCLOVIS
04/16/2024, 2:06 PMCLOVIS
04/16/2024, 2:09 PM@Composable
fun YourScreen() {
var results by remember { mutableStateOf(null) }
LaunchedEffect(Unit) {
results = … // make your request
}
for (result in results) {
// call components here
}
}
Jeff Lockhart
04/16/2024, 2:15 PMCLOVIS
04/16/2024, 2:16 PMCLOVIS
04/16/2024, 2:17 PMdiv
) which you should bind yourself to
• when you call renderComposable
at the root of your program, you can pass that div
This will start Compose specifically in that div, instead of in the entire screen. After that, everything is the same.CLOVIS
04/16/2024, 2:18 PMJeff Lockhart
04/16/2024, 2:21 PMCLOVIS
04/16/2024, 2:22 PMCLOVIS
04/16/2024, 2:23 PMCLOVIS
04/16/2024, 2:23 PMJeff Lockhart
04/16/2024, 2:24 PMdiv
as an HTML widget on the WordPress page. Then it's a matter of executing the renderCompasable
function on that page as well.CLOVIS
04/16/2024, 2:24 PMJeff Lockhart
04/16/2024, 2:25 PMCLOVIS
04/16/2024, 2:26 PMDavid Herman
04/16/2024, 6:30 PMDavid Herman
04/16/2024, 6:30 PMDavid Herman
04/16/2024, 6:31 PMDavid Herman
04/16/2024, 6:32 PMDavid Herman
04/16/2024, 6:32 PMDavid Herman
04/16/2024, 6:32 PMCLOVIS
04/16/2024, 6:33 PMDavid Herman
04/16/2024, 6:34 PMDavid Herman
04/16/2024, 6:34 PMCLOVIS
04/16/2024, 6:34 PMDavid Herman
04/16/2024, 6:35 PMDavid Herman
04/16/2024, 6:35 PMCLOVIS
04/16/2024, 6:35 PMDavid Herman
04/16/2024, 6:35 PMDavid Herman
04/16/2024, 6:36 PMJeff Lockhart
04/17/2024, 2:45 AMAhmed Riyadh
04/29/2024, 5:15 PMJeff Lockhart
04/29/2024, 5:22 PMAhmed Riyadh
04/29/2024, 5:28 PMJeff Lockhart
04/29/2024, 5:32 PMAhmed Riyadh
04/29/2024, 5:33 PMJeff Lockhart
04/29/2024, 5:33 PM