Halil Ozercan09/12/2020, 3:04 PM
kind of anchor to reset the state if some of the dependencies change? This certainly proved a challenge when I wanted to use
vararg inputs: Any?
on list items. Because Lazy APIs reuse the same composable with different data, dismissState has to reset everytime the data changes.
, it only supports horizontal direction. I happened to achieve a very satisfactory result by just adding an orientation argument and selectively choosing offsetX or offsetY according to the orientation.
Adam Powell09/12/2020, 3:15 PM
functions go away in favor of more standard uses of
itself, but each case we need to address has needed some thinking
Halil Ozercan09/12/2020, 8:34 PM
Sean McQuillan [G]09/14/2020, 6:24 PM
API before the library fixes get in. https://developer.android.com/reference/kotlin/androidx/compose/runtime/package-summary.html#key