ascii
08/28/2023, 6:21 AMval remembered = rememberSaveable(input) { input } // input is a stable parcelized data class
Docs say it would recalculate when input changes, but that doesn't always happen. For example, println("input ${input.id}, remembered ${remembered.id}") immediately after shows a mismatch. Not sure if this is a recent bug or I'm doing something wrong. Do I need to pass key as well? That feels like extra work for no reason.ascii
08/28/2023, 6:23 AMinput, thus making getValueIfInputsDidntChange return null?Zach Klippenstein (he/him) [MOD]
08/28/2023, 2:53 PMascii
08/29/2023, 11:14 AM