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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions