Assigned
Status Update
Comments
al...@google.com <al...@google.com> #2
Also doesn't work in AS 2024.3.2 Canary 4 and Compose 1.8.0-beta01
al...@google.com <al...@google.com> #3
Andrei: Is this the same as
Description
If an API consists of a set of lambda returning functions of the form:
it currently requires an explicit memoization in a composable function such as,
With this proposal, adding
@Stable
to the factory function would imply that the result should be memoized like a lambda literal.would imply that calling
factory
in a composable function would result in theremember
being inserted as describe above allowing the API to be used like,Combined with b/349367969 , this would also implicitly memoize the value if the result was a composable lambda.