Is it well-known (or a bug?) that function referen...
# compose
v
Is it well-known (or a bug?) that function references are not semantically equivalent to lambdas in compose? I was bit by a local variable (calculated from snapshot state) not being re-evaluated when captured by a local function. Changing
argument = ::localFunction
to
argument = { localFunction() }
fixed the issue (note that Android Studio "helpfully" suggests conversions between the 2, even though it results in behavioral changes).