commit | e11d643369cb2cbcb0dcf9428a08e03ad9d901a4 | [log] [tgz] |
---|---|---|
author | Jordan Demeulenaere <jdemeulenaere@google.com> | Wed Dec 27 15:57:37 2023 +0100 |
committer | Jordan Demeulenaere <jdemeulenaere@google.com> | Wed Jan 03 11:56:47 2024 +0100 |
tree | ccb10a408b14a37862af53191998bbdcfcaa7ec1 | |
parent | 5def44c3e6d959231237833d45f36f5efecd4cec [diff] |
Extract shared values outside of the Element class This CL moves the Maps and objects that are used to interpolate shared values outside of the Element class. That way, animating a shared value won't require the Element object, which will allow to remove the last call to Snapshot.withoutReadObservation {} and map mutations during compisition inside Modifier.element(). Test: AnimateSharedAsState Bug: 291071158 Flag: N/A Change-Id: Ib56dd943d233edf1276934c02ad37c08821e318d