allan.conda
09/03/2021, 5:50 AMval displayTime = remember(message.createdTime) {
DateUtils.getRelativeTimeSpanString(message.createdTime * 1_000).toString()
}
Text(displayTime)
When we refresh, we want to update the relative time text but it doesn’t
a recomposition when the time value doesn’t change.
Any idea how to handle this kind of scenario?Felix Schütz
09/03/2021, 8:19 AMremember
around the calculation is required. What exactly is message
?allan.conda
09/03/2021, 11:21 AM