EggTimerCloseButtonView
class EggTimerCloseButtonView
Constructors
<init>
constructor(context: Context, attr: AttributeSet?)
Parameters
Name | Description |
---|---|
context: Context
|
|
attr: AttributeSet?
|
Methods
startAnimationFrom
fun startAnimationFrom(progress: Float, duration: Float, onUpdate: (Float)->Unit, dismissAction: (DismissAction)->Unit)
Parameters
Name | Description |
---|---|
progress: Float
|
|
duration: Float
|
|
onUpdate: (Float)->Unit
|
|
dismissAction: (DismissAction)->Unit
|
ReturnValue
Name | Description |
---|---|
Unit
|
showCloseButton
fun showCloseButton(dismissAction: (DismissAction)->Unit)
Parameters
Name | Description |
---|---|
dismissAction: (DismissAction)->Unit
|
ReturnValue
Name | Description |
---|---|
Unit
|