Skip to content

it is not working in fragment #1

@pritesh25

Description

@pritesh25

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions