Skip to content

Latest commit

 

History

History
84 lines (45 loc) · 1.72 KB

CHANGELOG.md

File metadata and controls

84 lines (45 loc) · 1.72 KB

Change Log

Version 1.2.1

2020-12-25

  • Remove lazy accessors for fields. They are adding extra overhead in terms of memory and they are way too heavy for one threaded environment complex for Android world.
  • Remove kotlin stdlib methods in onDraw. They are just adding extra allocations while trying to draw on Android canvas.
  • Some code overall clean up.
  • Migrate sample to AndroidX.
  • Update dependencies for Kotlin and plugins.

Version 1.2.0

2018-02-14

  • Added ability to stop snowfall without making it disappear.
  • Fixed memory leak related to inner HandlerThread.

Version 1.1.6

2016-12-29

  • Fix support Android 4.3 and below (issue with onVisibilityChanged).

Version 1.1.5

2016-12-29

  • Changed min API level to 16 (Android 4.1).

Version 1.1.4

2016-12-28

  • Fixed crash in case if view has initially visibility GONE.

Version 1.1.3

2016-12-28

  • Snowflakes are reset when visibility changed to GONE.
  • Fixed Android Studio Preview rendering issue.

Version 1.1.2

2016-12-27

  • Draw optimization.

Version 1.1.1

2016-12-26

  • Support different start position on y-axis for snowflakes (attr snowflakesAlreadyFalling).
  • Rename attr snowflakeFadingEnabled to snowflakesFadingEnabled.
  • Fixed animation lags.
  • Fixed API 15 support.

Version 1.1.0

2016-12-25

  • Support custom snowflake image (attr snowflakeImage).
  • Support custom snowflake angle (attr snowflakeAngleMax).
  • Support custom snowflake speed (attrs snowflakeSpeedMin, snowflakeSpeedMax).
  • All snowflakes are unique (size, speed, angle, alpha, start position).
  • Calculate size by using gaussian ("normally") distribution.

Version 1.0.0

2016-12-23

Initial release.