Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Split up OnTouchListener #382

@romtsn

Description

@romtsn

Would it make sense to have something like

inline fun View.doOnActionUp(crossinline action: (event: MotionEvent) -> Unit)
inline fun View.doOnActionMove(crossinline action: (event: MotionEvent) -> Unit)
inline fun View.doOnActionCancel(crossinline action: (event: MotionEvent) -> Unit)
...

instead of wall of code in a single OnTouchListener ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions