commit | c7ccf51eca468907342ef489839f1f4e0c756370 | [log] [tgz] |
---|---|---|
author | Jordan Demeulenaere <jdemeulenaere@google.com> | Tue Oct 11 15:58:55 2022 +0200 |
committer | Jordan Demeulenaere <jdemeulenaere@google.com> | Wed Oct 12 11:53:36 2022 +0200 |
tree | c0db2926d622bcd55686186e496969ffb05492b4 | |
parent | 9177a6ba9ac2d3dc82128399d03bdbe557854c9d [diff] |
Extract ExpandableControllerImpl out of Expandable This CL extracts ExpandableControllerImpl and introduces an Expandable(ExpandableController) overload so that people can create a controller before the Expandable that it will control. This allows to trigger the animation from outside the Expandable. See [1] for an example. Outside of that new Expandable overload and rememberExpandableController(), this is a pure refactoring. [1] https://drive.google.com/file/d/1ghz2Zh9Syf4k2nHXddSrZxcl8Es6pA9m/view?usp=sharing Bug: 230830644 Test: Manual Change-Id: Iaa39a2c75e8a49770eaf5d8ce66d5ac562d9320c