Giter VIP home page Giter VIP logo

fluid-slider-android's People

Contributors

alexmik89 avatar dvg4000 avatar golovin47 avatar juriv avatar oleg-vasiliev avatar payasgupta avatar prscx avatar ramotiondev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fluid-slider-android's Issues

Too large of vertical margin

No way to remove large vertical margin from XML. Understood that more space is needed to have room for bubble pop-up, but there is about 20dp of extra above that that is not desirable with no way to turn off

Set Size from code

Very nice library!
Noted that Size can be set in the xml-layout but not from code unless I missed it.
Could this be added?
Thanks.

Sorry for the issue

Hello! Could you please tell what do you use for screenshot creation?

THANK YOU!

Caculations in drawMetaball

Hello, I want use code in drawMetaball method for custom my widgets, but the caculations is too hard. Can you provide me some clues or geometric drawing? Thank you.

positionListener not triggered

Thanks for this lib !
I have an issue with the positionListener. It isn't triggered when the user just click on an other position, without moving the cursor. But the beginTrackingListener on his side, has been triggered.
Thanks, I hope you understand my issue :)

Floating point

It would be interesting to have floating point range with the possibility to tweak the number of decimal places.

How to use one listner for multiple slider/

I want to use 5 of these sliders in my class project app and i have done it by assigning each one with a listner. it works but i was thinking if there is a way to do it in short way which will drastically reduce the code size. i tried to do it but unsuccessful.
I dont have any experiance in kotlin. help will be appreciated

Parcel crashing on onRestoreInstanceState

Steps to reproduce:

  • Download project
  • Run app
  • Close it
  • Tap on the red square button on Logcat's left size (this will terminate the app and force onSaveInstanceState)
  • Open it again
  • Crash!

Log:

2018-07-24 02:27:13.288 30935-30935/com.ramotion.fluidslider.example.simple E/AndroidRuntime: FATAL EXCEPTION: main
 Process: com.ramotion.fluidslider.example.simple, PID: 30935
 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ramotion.fluidslider.example.simple/com.ramotion.fluidslider.example.simple.MainActivity}: java.lang.RuntimeException: Parcel android.os.Parcel@cdc64f7: Unmarshalling unknown type code 7209057 at offset 440
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2955)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)
     at android.app.ActivityThread.-wrap11(Unknown Source:0)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
     at android.os.Handler.dispatchMessage(Handler.java:105)
     at android.os.Looper.loop(Looper.java:164)
     at android.app.ActivityThread.main(ActivityThread.java:6938)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
  Caused by: java.lang.RuntimeException: Parcel android.os.Parcel@cdc64f7: Unmarshalling unknown type code 7209057 at offset 440
     at android.os.Parcel.readValue(Parcel.java:2771)
     at android.os.Parcel.readSparseArrayInternal(Parcel.java:3140)
     at android.os.Parcel.readSparseArray(Parcel.java:2354)
     at android.os.Parcel.readValue(Parcel.java:2749)
     at android.os.Parcel.readArrayMapInternal(Parcel.java:3059)
     at android.os.BaseBundle.unparcel(BaseBundle.java:257)
     at android.os.Bundle.getSparseParcelableArray(Bundle.java:958)
     at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2246)
     at android.app.Activity.onRestoreInstanceState(Activity.java:1153)
     at android.app.Activity.performRestoreInstanceState(Activity.java:1108)
     at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1266)
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2928)
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030) 
     at android.app.ActivityThread.-wrap11(Unknown Source:0) 
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696) 
     at android.os.Handler.dispatchMessage(Handler.java:105) 
     at android.os.Looper.loop(Looper.java:164) 
     at android.app.ActivityThread.main(ActivityThread.java:6938) 
     at java.lang.reflect.Method.invoke(Native Method) 
     at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) 
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) 

Touch event

Hi, there's a way to delay the bubble rise? I have a recyclerview with a fluidslider per element and when I scroll down the list the slider instantly intercept the event and start the tracking listener. I want to set a delay (something like click and hold pattern) to the bubble. Let me know is there's already the way or if I have to implement it on my own. Thanks.

IllegalArgumentException: pointerIndex out of range

java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEvent.java:2378)
at androidx.viewpager.widget.ViewPager.onInterceptTouchEvent(ViewPager.java:2072)
at android.view.ViewGroup.checkInterception(ViewGroup.java:2728)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2773)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3226)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2919)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3226)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2919)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3226)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2919)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3226)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2919)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3226)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2919)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3226)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2919)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:654)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1988)
at android.app.Activity.dispatchTouchEvent(Activity.java:4146)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:600)
at android.view.View.dispatchPointerEvent(View.java:13791)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5888)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5683)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5127)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5180)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5146)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5303)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5154)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5360)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5127)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5180)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5146)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5154)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5127)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8035)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7986)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7940)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8228)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:233)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:215)
at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:8152)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:8271)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1057)
at android.view.Choreographer.doCallbacks(Choreographer.java:875)
at android.view.Choreographer.doFrame(Choreographer.java:769)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1042)
at android.os.Handler.handleCallback(Handler.java:900)

Using with java class.

Is it possible to use it in my java class itself.? If yes can you give a demo of setBeginTrackingListener and setEndTrackingListener within java class.?

Increment by X value

I am looking to add a way to use increments of 10. So if I had max set to 100, it would jump 10, 20, 30... 80, 90, 100 and allow no other values. Is there any way to currently do this or an easy way to add this functionality?

For Kotlin, I would guess we would need to modify the ACTION_MOVE event?

duplicate value for resource 'attr/size' with config ''.

got this error when compile :

Android resource compilation failed
C:\Users\Azedine\Documents\dev\android.bestasset\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2943: error: duplicate value for resource 'attr/size' with config ''.
C:\Users\Azedine\Documents\dev\android.bestasset\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2943: error: resource previously defined here.

here is my gradle file :

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'realm-android'

android {
    signingConfigs {
        config {
            storeFile file('keystore/keyStoreBestAsset.jks')
            keyAlias 'release'
            keyPassword 'release'
            storePassword 'bestasset0'
        }
    }

    compileSdkVersion 27
    defaultConfig {
        applicationId "com.nouvonivo.bestassetAlpha"
        minSdkVersion 21
        targetSdkVersion 27
        versionCode xxxx
        versionName "xxxx"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.config
        }
        debug {
            applicationIdSuffix ".debug"
            debuggable true
            minifyEnabled false
        }
    }
    buildToolsVersion '28.0.3'
}

dependencies {
    //Test
    testImplementation 'junit:junit:4.12'
    testImplementation 'org.mockito:mockito-core:2.23.4'
    androidTestImplementation 'org.mockito:mockito-android:2.23.4'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    // Framework
    implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.android.support:design:27.1.1'
    implementation 'com.android.support:recyclerview-v7:27.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.google.android.gms:play-services-maps:16.0.0'

    // Multidex
    implementation 'com.android.support:multidex:1.0.3'

    // Play services
    implementation 'com.google.android.gms:play-services-location:16.0.0'

    // UI
    api 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.4-7'
    implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'com.android.support:percent:27.1.1'
    implementation 'me.grantland:autofittextview:0.2.1'
    implementation 'com.sangcomz:FishBun:0.8.6'
    implementation 'com.github.kapilmhr:AlphabetIndexFastScrollRecyclerview:1.0.0'
    implementation 'com.chaos.view:pinview:1.4.2'
    implementation 'com.android.support:support-emoji:27.1.1'
    implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'com.diegocarloslima:fgelv:0.1.2@aar'
    implementation 'com.github.devlight:infinitecycleviewpager:1.0.2'

    // Social networks
    implementation 'com.facebook.android:facebook-login:4.39.0'
    implementation 'com.github.jd-alexander:LikeButton:0.2.3'

    // Audio recorder
    implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.11'
    implementation project(':audio-recorder-kotlin-1.0.0')
    implementation project(':avatar-view')

    // Rx Java
    api 'io.reactivex.rxjava2:rxandroid:2.0.1'
    api 'io.reactivex.rxjava2:rxjava:2.1.12'

    // Retrofit network
    api 'com.squareup.okhttp3:logging-interceptor:3.9.1'
    api 'com.squareup.retrofit2:retrofit:2.4.0'
    api 'com.squareup.okhttp3:okhttp:3.10.0'
    api 'com.squareup.retrofit2:converter-gson:2.4.0'
    api 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
    api 'com.google.code.gson:gson:2.8.4'
    api 'com.github.AniTrend:retrofit-graphql:0.2'

    // Image loading
    api 'com.github.bumptech.glide:glide:4.8.0'

    // rectangle imageview
    implementation 'com.github.siyamed:android-shape-imageview:0.9.3@aar'

    implementation 'com.xw.repo:bubbleseekbar:3.16'
    implementation 'com.github.siyamed:android-shape-imageview:0.9.3@aar'
    implementation 'com.hbb20:ccp:2.2.3'

    implementation 'com.pacioianu.david:ink-page-indicator:1.3.0'
    implementation 'com.ramotion.fluidslider:fluid-slider:0.3.0'

}

repositories {
    mavenCentral()
    maven { url "https://jitpack.io" }
}


}


Does this require AndroidX?

I am having issues getting this to work with our project and it seems that you need to use AndroidX for this library to compile nicely?

Error

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
  	is also present at [androidx.core:core:1.0.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
  	Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:41:5-212:19 to override.

Would it be possible to do a backport or is there a reason that you are using AndroidX? I did not see a seperate branch for Support/Material, maybe I missed it.

New logo/icon proposal

Good day sir. I am a graphic designer and i am interested in designing a logo for your good project. I will be doing it as a gift for free. I just need your permission first before I begin my design. Hoping for your positive feedback. Thanks

Crash issue in createFromParcel(FluidSlider.kt:206)

Hi
Steps to reproduce

  1. open the application
  2. close it
  3. click the stop button in logcat
  4. open the application fragment crashes showing

Caused by android.os.BadParcelableException: ClassNotFoundException when unmarshalling:
at android.os.Parcel.readParcelableCreator(Parcel.java:2432)
at android.os.Parcel.readParcelable(Parcel.java:2358)
at android.view.AbsSavedState.(AbsSavedState.java:57)
at android.view.View$BaseSavedState.(View.java:21500)
at com.ramotion.fluidslider.FluidSlider$State.(FluidSlider.kt:243)
at com.ramotion.fluidslider.FluidSlider$State.(FluidSlider.kt:202)
at com.ramotion.fluidslider.FluidSlider$State$Companion$CREATOR$1.createFromParcel(FluidSlider.kt:207)
at com.ramotion.fluidslider.FluidSlider$State$Companion$CREATOR$1.createFromParcel(FluidSlider.kt:206)
at android.os.Parcel.readParcelable(Parcel.java:2367)

at android.os.Parcel.readValue(Parcel.java:2264)
at android.os.Parcel.readSparseArrayInternal(Parcel.java:2675)
at android.os.Parcel.readSparseArray(Parcel.java:1967)
at android.os.Parcel.readValue(Parcel.java:2321)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2614)
at android.os.BaseBundle.unparcel(BaseBundle.java:245)
at android.os.Bundle.getSparseParcelableArray(Bundle.java:856)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1361)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269)
at androidx.fragment.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:3223)
at androidx.fragment.app.Fragment.restoreChildFragmentState(Fragment.java:1526)
at androidx.fragment.app.Fragment.onCreate(Fragment.java:1497)
at com.daimler.busdetailspage.view.BusDetailFragment.onCreate(BusDetailFragment.java:101)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:2414)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1418)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269)
at androidx.fragment.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:3223)
at androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:190)
at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:369)
at androidx.appcompat.app.AppCompatActivity.onCreate(AppCompatActivity.java:85)
at com.daimler.navigation.view.MainActivity.onCreate(MainActivity.java:165)
at android.app.Activity.performCreate(Activity.java:6355)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2438)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2545)
at android.app.ActivityThread.access$1100(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1396)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5601)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:774)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:652)

Can't install the package when use it in Fragement

Installed the package in Gradle
tried to use it in Fragement

`@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment1, container, false);

    final int max = 10;
    final int min = 0;
    final int total = max - min;

    final FluidSlider slider = view.findViewById(R.id.fluidSlider);

    slider.setBeginTrackingListener(new Function0<Unit>() {
        @Override
        public Unit invoke() {
            Log.d("D", "setBeginTrackingListener");
            return Unit.INSTANCE;
        }
    });

    slider.setEndTrackingListener(new Function0<Unit>() {
        @Override
        public Unit invoke() {
            Log.d("D", "setEndTrackingListener");
            return Unit.INSTANCE;
        }
    });

    slider.setPositionListener(pos -> {
        final String value = String.valueOf( (int)((1 - pos) * 100) );
        slider.setBubbleText(value);
        return Unit.INSTANCE;
    });

    slider.setPosition(0.3f);
    slider.setStartText(String.valueOf(min));
    slider.setEndText(String.valueOf(max));


    // Inflate the layout for this fragment
    return view;
}

`

I had to manually install it in the XML like this:

> 
>     <com.ramotion.fluidslider.FluidSlider
>         android:id="@+id/fluidSlider"
>         android:layout_width="376dp"
>         android:layout_height="58dp"
>         android:layout_marginStart="16dp"
>         android:layout_marginTop="32dp"
>         android:layout_marginEnd="16dp"
>         android:background="#5C6BC0"
>         android:elevation="2dp"
>         app:duration="@android:integer/config_mediumAnimTime"
>         app:layout_constraintEnd_toEndOf="parent"
>         app:layout_constraintHorizontal_bias="1.0"
>         app:layout_constraintStart_toStartOf="parent"
>         app:layout_constraintTop_toBottomOf="@+id/textView6"
>         app:size="small"
>         tools:targetApi="lollipop" />

As i can't find the package in the design - palette
Please hlep

direction rtl

hello,

i want to use this for direction rtl, can you help me please?

kind regards

Use with Android Studio and Java

Is it possible to use the code in a Java class?
I could not implement a PositionListener.
I tried to use it with a onTouchListener but the setPosition() Method does not work once I use the onTouchListener(). Is there another workaround or way to implement this? I have never tried to embed kotlin code into Java.

Thanks!

Re-setting position

When I init my activity, I set the position and it successfully works.

But the second time I try to set the position, the value is set, but the bubble is still in the old position.

How can I fix that?

Rounded Corner

Is it possible to make the slider rounded corner in android

Java

Hi, thanks for this great library.
cab you develop this library for java developers?

FluidSlider disable help wanted.

hello
I want to disable the FluidSlider in some condition.
I want to stop the user to slide the FluidSlider in some case and in another case they can use the FluidSlider to change value.
I tried to use disable and clickable but it's not working.
can you please help me with this.

IllegalArgumentException, wrong state class

while coming back to this fragment.. it is giving the following error on backpress method

java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class com.ramotion.fluidslider.FluidSlider$State instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/fluid_Slider. Make sure other views do not use the same id.

I have followed the code from this example..

Apply steps

It is possible to apply steps in the selected positions?

For example I want to have a slider where I only can select multiples of 5 between the min and max I defined.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.