blipinsk / blipinsk/ViewPropertyObjectAnimator
waitForParams feature
Open
Enhancement
- Dominant language
- Java
- Stars
- 344
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Add method `waitForParams()` (returning `void`!) that can be called instead of `start()`.
The `ObjectAnimator` has to be **built** (and started), when the `View` gets its `LayoutParams`. If `LayoutParams` are available at the moment of call (of the `waitForParams` method), the `Animator` should be built and started right away. If `LayoutParams` are not available, a proper `OnAttachStateChangeListener` should be added for the animated `View`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.