-
- All Implemented Interfaces:
public final class RippleTextPresenter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRippleTextPresenter.Companion
-
Constructor Summary
Constructors Constructor Description RippleTextPresenter(TextView textView, Function1<IntArray, IntArray> createDrawableState)
-
Method Summary
Modifier and Type Method Description final Unitinitialize()final UnitonMeasure()final UnitjumpDrawablesToCurrentState()final BooleanverifyDrawable(Drawable who)final Unitdraw(Canvas canvas)final BooleanonTouchEvent(MotionEvent event)final UnitsetRippleDrawable(Function0<Drawable> drawableCreator)final UnitsetRippleDrawable(@DrawableRes() Integer drawableResource)-
-
Method Detail
-
initialize
final Unit initialize()
-
jumpDrawablesToCurrentState
final Unit jumpDrawablesToCurrentState()
-
verifyDrawable
final Boolean verifyDrawable(Drawable who)
-
onTouchEvent
final Boolean onTouchEvent(MotionEvent event)
-
setRippleDrawable
final Unit setRippleDrawable(Function0<Drawable> drawableCreator)
-
setRippleDrawable
final Unit setRippleDrawable(@DrawableRes() Integer drawableResource)
-
-
-
-