Jeevan Deep Singh
07/10/2023, 11:41 AMModifier.clickable(...)
Modifiers?
I have a AndroidView which renders a text in a list. when I update the list, even though the text is same, not remembering the modifier triggeres the recomposition, whereas if I remember Modifier.clickable(...)
, the recomposition is skipped
I have never seen any example where modifiers are being remembered hence the confusion.
also I noticed the modifiers like padding
are not causing the same recomposition, but clickable
does.
Can anyone point me in the right direction?Jeevan Deep Singh
07/10/2023, 11:56 AMSalva
07/10/2023, 1:55 PMcomposed
function is applied you will see all the components that needs to apply some kind of effect to the desired composable