You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using kotlin language for development. i implemented bloom in fragment and i passed requiredActivity() and even i tried to pass activity but it not display any animation.
I am using kotlin language for development. i implemented bloom in fragment and i passed requiredActivity() and even i tried to pass activity but it not display any animation.
Sorry to reply you so late, are you make sure your 'view' is visible? Only has animation effect when the view is visible and the width and height are not 0. Please contact me with any questions, thanks!
I am using kotlin language for development. i implemented bloom in fragment and i passed requiredActivity() and even i tried to pass activity but it not display any animation.
here is snipper
val mBloom = Bloom.with(activity)
.setParticleRadius(10F)
.setShapeDistributor(StarShapeDistributor())
.setEffector(
BloomEffector.Builder()
.setDuration(2000)
.setRotationSpeedRange(0.01f, 0.05f)
.setSpeedRange(0.1f, 0.5f)
.setAcceleration(0.00025f, 90)
.setAnchor((view.width / 2).toFloat(), view.height.toFloat())
.setFadeOut(500, AccelerateInterpolator())
.build()
)
mBloom.boom(view)
The text was updated successfully, but these errors were encountered: