mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-18 02:51:50 +08:00
Move the unchecked and checked state calculation off from each invalidate() call to onCreateDrawableState() so we can make sure we will only calculate the states when needed. PiperOrigin-RevId: 452092712