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
Migrating from 1.x.x to 2.x.x? Read on how to migrate here
Be aware that the path to include Konfetti in Gradle has changed:
// old
implementation 'nl.dionsegijn:konfetti:1.3.2'// new
implementation 'nl.dionsegijn:konfetti-compose:2.0.0'
implementation 'nl.dionsegijn:konfetti-xml:2.0.0'
What changed?
Support for compose
New and improved API using Party for configuring Confetti
Add more options for customization and randomness
Improved animation using damping which is configurable in Party
Beisdes using absolute position with Position.Absolute(x,y) there's now also a way to set the relative position with Position.Relative(x, y) and randomize spawn point chaining two positions with between with: Position.Relative(x,y).between(Position.Relative(x,y))
Easily configure Party with Presets such as Angle.TOP, Spread.Wide, and Rotation.disabled()
Simplified and improved core implementation
Decoupled core code to decouple core code from rendering
Modularized core - compose - xml
Add more sample projects and simplified existing sample projects
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Migrating from 1.x.x to 2.x.x? Read on how to migrate here
Be aware that the path to include Konfetti in Gradle has changed:
What changed?
Party
for configuring Confettidamping
which is configurable inParty
Position.Relative(x, y)
and randomize spawn point chaining two positions with between with:Position.Relative(x,y).between(Position.Relative(x,y))
Angle.TOP
,Spread.Wide
, andRotation.disabled()
core
-compose
-xml
Beta Was this translation helpful? Give feedback.
All reactions