Releases: caneryilmaz52/LuckyWheelView
v1.1.2
- Icon load from URL support with Coil added
- internet permission added
What's Changed
- v1.1.2 is ready by @caneryilmaz52 in #6
Full Changelog: v1.1.1...v1.1.2
v1.1.1
- center image visibility bug fixed
What's Changed
- bug fix by @caneryilmaz52 in #4
Full Changelog: v1.1.0...v1.1.1
v1.1.0
-
TargetReachListener
is changed toRotationCompleteListener
-
luckyWheelView.setTargetReachListener
is changed toluckyWheelView.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
- v1.1.0 is ready by @caneryilmaz52 in #2
New Contributors
- @caneryilmaz52 made their first contribution in #2
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Wheel Rotation Customization
-
Use
enableVibration
,setVibratePattern
functions andenableVibration
attribute to customize vibration. -
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
-
setArrowAnimation
function andarrowAnimation
attribute is removed. -
Use
setArrowSwingDuration
,setArrowSwingDistance
,setArrowSwingSlowdownMultiplier
functions andarrowSwingDuration
,arrowSwingDistance
,arrowSwingSlowdownMultiplier
attributes to customize arrow animation.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
No changes added. Version name reconfigured for implementation.