Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iammert/rangeview
Android range view for cropping (video, audio, etc.)
https://github.com/iammert/rangeview
android audio crop customview kotlin range rangeview video
Last synced: 9 days ago
JSON representation
Android range view for cropping (video, audio, etc.)
- Host: GitHub
- URL: https://github.com/iammert/rangeview
- Owner: iammert
- Created: 2019-02-18T06:22:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T16:34:25.000Z (almost 2 years ago)
- Last Synced: 2024-03-02T23:35:01.247Z (8 months ago)
- Topics: android, audio, crop, customview, kotlin, range, rangeview, video
- Language: Kotlin
- Size: 966 KB
- Stars: 187
- Watchers: 4
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RangeView
Android range view for cropping (video, audio, etc.)## Usage
```xml```
## Listeners
```kotlin
rangeView.rangeValueChangeListener = object : RangeView.OnRangeValueListener {
override fun rangeChanged(maxValue: Float, minValue: Float, currentLeftValue: Float, currentRightValue: Float) {}
}
```
```kotlin
rangeView.rangePositionChangeListener = object : RangeView.OnRangePositionListener {
override fun leftTogglePositionChanged(xCoordinate: Float, value: Float) {}override fun rightTogglePositionChanged(xCoordinate: Float, value: Float) {}
}
```
```kotlin
rangeView.rangeDraggingChangeListener = object :RangeView.OnRangeDraggingListener{
override fun onDraggingStateChanged(draggingState: DraggingState) {}
}
```## Download
```gradle
maven { url 'https://jitpack.io' }
``````gradle
dependencies {
compile 'com.github.iammert:rangeview:0.1'
}
```License
--------Copyright 2019 Mert Şimşek.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.