QuantityView

by himanshu-soni

himanshu-soni /QuantityView

Android quantity view with add and remove button.

420 Stars 94 Forks Last release: almost 5 years ago (v1.1.0) Apache License 2.0 32 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

QuantityView

Android quantity view with add and remove button to simply use as a complex widget with handful of quick customizations.

Download

Sample Screen

QuantityView QuantityView QuantityView

Installation

add gradle dependency to your dependency list:

dependencies {
    compile 'me.himanshusoni.quantityview:quantity-view:1.2.0'
}

Use

  1. Include
    QuantityView
    in your xml.

Customization

Attributes:

app:qv_addButtonBackground="color|drawable"
app:qv_addButtonText="string"
app:qv_addButtonTextColor="color"
app:qv_removeButtonBackground="color|drawable"
app:qv_removeButtonText="string"
app:qv_removeButtonTextColor="color"
app:qv_quantityBackground="color|drawable"
app:qv_quantityTextColor="color"
app:qv_quantity="integer"
app:qv_quantityPadding="dimension"
app:qv_maxQuantity="integer"
app:qv_minQuantity="integer"
app:qv_quantityDialog="boolean"

Change Log

v1.2.0
  • old and new quantity in
    OnQuantityChangeListener
    .
v1.1.0
  • added option to use custom click listener on quantity for custom view.

================== developed to make programming easy.

by Himanshu Soni ([email protected])

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.