nfrankel
01/04/2021, 2:17 AMpath
is updated
the files
list will reflect the changepavi2410
01/04/2021, 4:13 AM@Composable
fun FancyText(text: String) {
// by passing text as a parameter to remember, it will re-run the calculation on
// recomposition if text has changed since the last recomposition
val formattedText = remember(text) { computeTextFormatting(text) }
/*...*/
}