• Stars
    star
    352
  • Rank 120,622 (Top 3 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created almost 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android Number Picker with gestures

Material Number Sliding Picker

A widget that enables the user to select a number from a predefined range. Progress value can be changed using the up and down arrows, click and edit the editable text or swiping up/down or left/right.

Screen shot

Build Status

Maven Central

Installation

Maven

compile 'it.sephiroth.android.library:number-sliding-picker:**version**'

JitPack

Step 1. Add the JitPack repository to your build file:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.sephiroth74:NumberSlidingPicker:Tag'
}

Get the latest version on JitPack

Usage

    <it.sephiroth.android.library.numberpicker.NumberPicker
        style="@style/NumberPicker.Filled"
        app:picker_max="100"
        app:picker_min="0"
        android:progress="50"
        app:picker_stepSize="2"
        app:picker_tracker="exponential"
        app:picker_orientation="vertical"
        android:id="@+id/numberPicker"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        ... />

See attrs.xml for a complete list of attributes

Listener

        numberPicker.doOnProgressChanged { numberPicker, progress, formUser ->
            // progress changed
        }
        
        numberPicker.doOnStartTrackingTouch { numberPicker -> 
            // tracking started
        }
        
        numberPicker.doOnStopTrackingTouch { numberPicker -> 
            // tracking ended
        }

License

MIT License

Copyright (c) 2019 Alessandro Crugnola

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

ImageViewZoom

Android ImageView widget with zoom and pan capabilities
Java
1,893
star
2

android-target-tooltip

Create Toast like tooltips, but targets can be specified, plus custom properties and features
Kotlin
1,467
star
3

Material-BottomNavigation

Bottom Navigation widget component inspired by the Google Material Design Guidelines at https://www.google.com/design/spec/components/bottom-navigation.html
Kotlin
1,461
star
4

HorizontalVariableListView

Horizontal list view for Android which allows variable items widths
Java
859
star
5

AndroidWheel

Custom wheel widget for android
Java
385
star
6

ViewRevealAnimator

ViewAnimator view with a lollipop style reveal effect
Java
338
star
7

android-floating-action-menu

Floating Action Menu for Android. Inspired by the Google Plus floating menu
Java
239
star
8

purePDF

A complete actionscript PDF library
ActionScript
141
star
9

AndroidUIGestureRecognizer

AndroidGestureRecognizer is an Android implementation of the Apple's UIGestureRecognizer framework
Kotlin
134
star
10

Android-Exif-Extended

Exif extended library for Android, based on jhead c library (http://www.sentex.net/~mwandel/jhead/)
Java
134
star
11

OverlayMenu

Android Overlay Menu
Java
120
star
12

Android-Easing

Ligh weight android easing
Java
105
star
13

RangeSeekBar

A Range Slider for Android.
Java
99
star
14

Tri-State-Checkbox

3 State Checkbox for android in pure Material Style
Java
59
star
15

RxBroadcast

Reactive Broadcast for Android
Java
12
star
16

ABTest

Simple library for ab testing in android
Java
11
star
17

vignette_demo

Simple demo on how to create a "Vignette" effect in Android
Java
10
star
18

SubtleRater

Discreet AppRater for Android
Java
10
star
19

HListViewAnimations

Based on ListViewAnimations, but target to the HListView instead
Java
10
star
20

Android-MultiSharing

Example on how to do multiple sharing in Android
Java
9
star
21

Appunti

Source code for the Note app available at https://play.google.com/store/apps/details?id=it.sephiroth.android.app.appunti
Kotlin
8
star
22

AlertDialogCustomStyleDemo

Demonstrate how to effectively customize the Android AlertDialog
Java
8
star
23

SBB-Tactile

SBB Tactile Demo App
Kotlin
7
star
24

TwitterAndroidSDK

Twitter SDK for Android, using Twitter4j
Java
7
star
25

python-adb-client

Pure python adb client
Python
5
star
26

android-disk-multi-cache

Multi Cache purpose based on DiskLruCache
Java
5
star
27

DiskLruImageCache

Simple file based image cache
Java
4
star
28

radb_client

adb client written in rust
Rust
4
star
29

ascii_generator

simple python script to print and convert images to ascii art
Python
4
star
30

material_drawable

Provides material background drawables to views
Kotlin
4
star
31

go_adb_client

Go adb client
Go
3
star
32

SimpleLogger

Simple Android logger
Java
2
star
33

git-owners

Simple python utility to generate a report about owners of files inside a git repository
Python
2
star
34

SimpleLruCache

Simple LruCache
Kotlin
2
star
35

kotlin_extensions

Misc Kotlin Extensions for Android
Kotlin
2
star
36

lollipop-transitions

Generic Transitions to be used with the Android 5.0 Transition Framework
1
star
37

Intellij-Settings

1
star
38

AndroidStudio-Settings

Java
1
star
39

JavaCheckStyle

java checkstyle
1
star