waitForParams feature
blipinsk opened this issue · 0 comments
blipinsk commented
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
.