QuantityPickerView

View capable of increasing or decreasing a unit value with a toggle animation.

Лицензия

Лицензия

Категории

Категории

Ant Компиляция и сборка GUI Взаимодействие с пользователем
Группа

Группа

com.github.guilhe
Идентификатор

Идентификатор

quantity-picker-view
Последняя версия

Последняя версия

1.2.4
Дата

Дата

Тип

Тип

aar
Описание

Описание

QuantityPickerView
View capable of increasing or decreasing a unit value with a toggle animation.
Ссылка на сайт

Ссылка на сайт

https://github.com/GuilhE/android-quantity-picker-view
Система контроля версий

Система контроля версий

https://github.com/GuilhE/android-quantity-picker-view

Скачать quantity-picker-view

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.guilhe/quantity-picker-view/ -->
<dependency>
    <groupId>com.github.guilhe</groupId>
    <artifactId>quantity-picker-view</artifactId>
    <version>1.2.4</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.guilhe/quantity-picker-view/
implementation 'com.github.guilhe:quantity-picker-view:1.2.4'
// https://jarcasting.com/artifacts/com.github.guilhe/quantity-picker-view/
implementation ("com.github.guilhe:quantity-picker-view:1.2.4")
'com.github.guilhe:quantity-picker-view:aar:1.2.4'
<dependency org="com.github.guilhe" name="quantity-picker-view" rev="1.2.4">
  <artifact name="quantity-picker-view" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.guilhe', module='quantity-picker-view', version='1.2.4')
)
libraryDependencies += "com.github.guilhe" % "quantity-picker-view" % "1.2.4"
[com.github.guilhe/quantity-picker-view "1.2.4"]

Зависимости

runtime (4)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-android-extensions-runtime jar 1.3.72
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.3.72
com.android.support » support-annotations jar 28.0.0
androidx.appcompat » appcompat jar 1.1.0

Модули Проекта

Данный проект не имеет модулей.

QuantityPickerView

Android Arsenal

A View capable of increasing or decreasing a unit value with a toggle animation.
Sample Sample

Installation

QuantityPickerView is distributed through Maven Central, Jcenter and Jitpack.

implementation 'com.github.guilhe:quantity-picker-view:${LATEST_VERSION}'

Maven Central Download Bintray

Usage

Check out the sample module where you can find a few examples of how to create it by xml.

Attributes accepted in xml:

<resources>
    <attr name="min" format="integer" />
    <attr name="max" format="integer" />
    <attr name="value" format="integer" />
    <attr name="textLabelSize" format="dimension" />
    <attr name="textLabelFormatter" format="string" />
    <attr name="textLabelFont" format="reference" />
    <attr name="backgroundColor" format="color" />
    <attr name="btnRemove" format="reference" />
    <attr name="btnAdd" format="reference" />
    <attr name="isOpen" format="boolean" />
    <attr name="autoToggle" format="boolean" />
    <attr name="rippleEnable" format="boolean" />
    <attr name="rippleColor" format="color" />
</resources>

Example:

com.github.guilhe.views.QuantityPickerView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:textLabelFont="@font/permanentmarker_regular"
    app:textLabelFormatter="%s units."
    app:textLabelSize="14sp"/>

Sample Sample

Dependencies

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.

LICENSE

Copyright (c) 2020-present, GuilhE.

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 at

http://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.

Версии библиотеки

Версия
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0