Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Add support for SeekBar.OnSeekBarChangeListener #183

@mathieuboniface

Description

@mathieuboniface

As explained in #167 There is no way to handle SeekBar specific events.

We have to provide a way to handle those events.

The SeekBar.OnSeekBarChangeListener have three methods. I think we have to provide 3 new annotations, each of those annotations will only allowed on methods with a declared SeekBar parameter.

  • @ProgressChanged to handle onProgressChanged(SeekBar seekBar, int progress, boolean fromUser).

For method annotated using @ProgressChange the progress and fromUser parameter are not mandatored.

  • @TrackingTouchStart to handle events from onStartTrackingTouch(SeekBar seekBar)
  • @TrackingTouchStop to handle events from onStopTrackingTouch(SeekBar seekBar)

Comments are welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions