commit | 227e6c78e93733fb0e15915f75b9930131945e50 | [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:58:25 2022 +0200 |
tree | 77da41e0da15f388a67f33feda6459ccc1776835 | |
parent | 6848267f36dc4cad4873f71ec531bf57d924789d [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 Merged-In: Iaa39a2c75e8a49770eaf5d8ce66d5ac562d9320c