-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WorkflowLayout now relies on Lifecycle.
Our homegrown `View.takeWhileAttached` somehow causes a strange issue on API 30 devices where `View.onAttached` can be called twice, at least since the recent change to introduce `View.start` landed in #602. We've seen crashes on a variety of Samsung devices out in the wild, and can reproduce the issue on API 30 AVDs via Android Studio's _Apply Changes and Restart Activity_. The fix is to be mainstream and use `Lifecycle`, which is added as a new required parameter to `WorkflowLayout.start`. The old overloads are now deprecated, and will be deleted soon.
- Loading branch information
Showing
3 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters