confetti icon indicating copy to clipboard operation
confetti copied to clipboard

An Android particle system library for displaying confetti!

Results 14 confetti issues
Sort by recently updated
recently updated
newest added

First of all, I'm sorry I'm not good at English. I think ConfettiAnimationListener.onAnimationEnd is called twice. first call from * ![image](https://user-images.githubusercontent.com/27183572/125576423-9f93361e-827d-4812-85c2-5a76e4dc5aae.png) second call from * ![image](https://user-images.githubusercontent.com/27183572/125576377-81fcf3d0-58ce-4cf3-95c5-eb78cda05606.png) Is it possible to...

For example, if you want to init Confetti in some util class on presenters layer, maybe you want to wrote something like this: ``` util class: fun initParticles() = ConfettiManager(params)...

This is my onCreateView ```Kotlin override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { val view = inflater.inflate(R.layout.fragment_home, container, false) viewContainer = container } ``` My app crashed everytime...

I was not able to integrate a confetti generatot with custom bitmap for Explosion Effect ? Is there any specific method i should use for Explosion type to change the...

Hello, Thank you for this wonderful library. I'm having a little trouble understanding if I'm doing things the right way. I created my own custom confetto using `ConfettoGenerator` and then...

Hey, I fixed the crash on the terminate method: ``` /** * Terminate the currently running animation if there is any. */ public void terminate() { if (animator != null)...

`int[] confettiColors = new int[]{R.color.red, R.color.blue, R.color.green, R.color.black, R.color.orange, R.color.darkergray}; ConfettiSource confettiSource = new ConfettiSource(linearLayout.getWidth(), linearLayout.getHeight()); CommonConfetti.rainingConfetti(linearLayout, confettiSource, confettiColors ).infinite();` i have done this code ....is that sufficient for showing...

This PR allows the user to specify a shape type if he wants a specific type. Example - ``` CommonConfetti.rainingConfetti(container, new int[] { Color.BLACK, Color.WHITE, ContextCompat.getColor(this, R.color.colorAccent), ContextCompat.getColor(this, R.color.colorPrimary)), Shape.MIXED)...

A `.shape(intArrayOf())` should be added in `CommonConfetti` so it is easier to add shapes in one single line.

config: `new ConfettiManager(this, this, source, container) .setEmissionDuration(ConfettiManager.INFINITE_DURATION) .setTTL(CONFETTI_LIFE_DURATION_MS) .setVelocityX(0, velocitySlow) .setVelocityY(velocityNormal, velocitySlow) .setRotationalVelocity(ROTATIONAL_VELOCITY, ROTATIONAL_DEVIATION) .setEmissionRate(CONFETTI_PER_SECOND);` works on samsung/asus/etc. but shows nothing on honor 8x (android 9, JSN-L22) and huawei p20...