Divyansh Kushwaha
04/06/2023, 6:19 AMval painter = rememberAsyncImagePainter(model = profilePictureUri)
I want my composable to recompose every time I set a profilePicture, but the thing is my profilePicture name is the userId.jpg so when I set the profile picture only the content at file changes and not the Uri. Is there a way such that every emit (or value change) irrespective of if value is different, I could recompose my composable.
In short, I want to trigger recomposition on every emit, whether the value has changed or not.efemoney
04/06/2023, 6:49 AM