jayschwa / androidsliderpreference Goto Github PK
View Code? Open in Web Editor NEWAndroid library that allows applications to add dialog-based slider widgets to their settings
License: MIT License
Android library that allows applications to add dialog-based slider widgets to their settings
License: MIT License
Hey,
is there any reason why this project is not on maven? Integrating this and updating it would be so much easier.
Hi,
Please create 1.0 tag, because now it is not possible to download the library from the maven.
I know I can specify commit or branch, but we have tags so please use it.
dependencies {
// [...]
compile 'com.github.jayschwa:AndroidSliderPreference:1.0'
}
Does this preference support a dual slider dialog? So like a grid value. Columns and rows?
Document says that you should clone the repository into your libs folder. This will create a folder called AndroidSliderPreference.
The document goes on to tell you to all the following to your settings.gradle.
project(':SliderPreference').projectDir = new File('libs/SliderPreference')
This causes an error during gradle sync as there is no SliderPreference folder.
I propose updating the documentation to:
project(':SliderPreference').projectDir = new File('libs/AndroidSliderPreference')
The documentation should be rewrite with :
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
dependencies {
compile 'com.github.jayschwa:AndroidSliderPreference:v1.0.0'
}
compile 'com.github.jayschwa:AndroidSliderPreference:1.0' doesn't exist
Setting the default value as suggested in the README:
<net.jayschwa.android.preference.SliderPreference
android:summary="This summary is static and boring"
android:defaultValue="0.5" />
throws an exception in onGetDefaultValue()
.
setSummary(getContext().getResources().getStringArray(summaryResId));
Android studio say Error:(93) Error: Expected resource of type array [ResourceType]
can you take a look. its in sliderPreference class. i turned off lint but then it says indexoutofbounds error.
can you update this code to use androidx as its using deprecated api's now
Hi Jay,
Thank you for doing this SliderPreference. Now i'm wondering how can i show the slider current value into the android:dialogMessage.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.