-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use AsyncLayoutInflater in CardFilters widget
CardFilters widget uses a complex layout which was slowing down app initialization, restore from background and screen rotation. In other words, anything which caused its views to be inflated. In order to mitigate that, now CardFilters widget inflates asynchronously its layout so the UI thread is free. This required a lot of changes regarding initialization of the widget as well as saving and restoring its state. As the layout would be inflated later, a lot of initialization code was migrated to the callback of the layout inflation. Thanks guys of Android team for providing such a nice utility class! Fix #51, #52
- Loading branch information
1 parent
d3ce194
commit 36139c6
Showing
1 changed file
with
109 additions
and
45 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