Skip to content

Releases: caneryilmaz52/LuckyWheelView

v1.1.2

21 Jan 12:27
33a9b0b
Compare
Choose a tag to compare
  • Icon load from URL support with Coil added
  • internet permission added

What's Changed

Full Changelog: v1.1.1...v1.1.2

v1.1.1

14 Jan 19:37
4627442
Compare
Choose a tag to compare
  • center image visibility bug fixed

What's Changed

Full Changelog: v1.1.0...v1.1.1

v1.1.0

10 Jan 16:31
464ac80
Compare
Choose a tag to compare
  • TargetReachListener is changed to RotationCompleteListener

  • luckyWheelView.setTargetReachListener is changed to luckyWheelView.setRotationCompleteListener

  • Background Customization Removed
    Function Attributes Description Type Default Value
    setRootLayoutBackgroundDrawable rootLayoutBackgroundDrawable set a drawable to lucky wheel view background drawable null
    setRootLayoutBackgroundColor rootLayoutBackgroundColor set a color to lucky wheel view background color transparent
    setRootLayoutPadding rootLayoutPadding, rootLayoutPaddingLeft, rootLayoutPaddingTop, rootLayoutPaddingRight,
    rootLayoutPaddingBottom set padding of lucky wheel view dimension 5dp
  • Wheel Customization Removed
    Function Attributes Description Type Default Value
    setWheelColor wheelColor set wheel color color #FFFFFF
    setWheelPadding wheelPadding set wheel padding dimension 2dp
  • Vibrate Customization Removed
    Function Attributes Description Type Default Value
    enableVibration enableVibration set vibration enable when wheel rotation stop boolean false
    setVibratePattern - set vibration pattern LongArray longArrayOf(200, 500, 250)
  • WheelData class changed

  • rotation direction added

  • draw wheel stroke added

  • draw wheel corner points added

  • icon position logic improvement

  • item separator drawing improvement

  • gradient color support added to item slice, item text, center text, wheel stroke, item separator

  • rotate random target logic improvement

  • dimens.xml file and usage added

  • some attrs field changes added

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

02 Oct 09:58
836c2d2
Compare
Choose a tag to compare

Wheel Rotation Customization

  1. Use enableVibration, setVibratePattern functions and enableVibration attribute to customize vibration.

  2. vibration customization added when wheel rotation stop. If VIBRATE permission not granted then vibration when wheel rotation stop default false also if device has not vibrator then vibration when wheel rotation stop default false

Arrow Customization

  1. setArrowAnimation function and arrowAnimation attribute is removed.

  2. Use setArrowSwingDuration, setArrowSwingDistance, setArrowSwingSlowdownMultiplier functions and arrowSwingDuration, arrowSwingDistance, arrowSwingSlowdownMultiplier attributes to customize arrow animation.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

25 Jun 11:13
3a67176
Compare
Choose a tag to compare

No changes added. Version name reconfigured for implementation.