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
it depends on when you do this, debug and check what's your linearLayout.getWidth(). my theory is that you are calling this before the linearlayout gets measured.
`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 confetti?
The text was updated successfully, but these errors were encountered: