Code Monkey home page Code Monkey logo

Comments (8)

nmesisca avatar nmesisca commented on August 25, 2024

Just wanted to add I seem to be having the same issue on my emulator running 4.1.1

from materialseekbarpreference.

AndreaVico avatar AndreaVico commented on August 25, 2024

Testing on a Nexus 5 running Marshmallow, I haven't encountered any problem.

from materialseekbarpreference.

nmesisca avatar nmesisca commented on August 25, 2024

Have you tested preference or view? My issue seems to be with preference seekbar..
my same code runs fine on lollipop and has the issue on marshmallow

from materialseekbarpreference.

AndreaVico avatar AndreaVico commented on August 25, 2024

I have been using the Preference as well.

from materialseekbarpreference.

nmesisca avatar nmesisca commented on August 25, 2024

@andreaaa would you be so kind as to let me have a peek at how you have it implemented in preferences please? I can't understand if I am doing something wrong and how could my code work well on 5.1.1 but not on 6. At this stage any help would be welcome! cheers.

from materialseekbarpreference.

AndreaVico avatar AndreaVico commented on August 25, 2024

@nmesisca I've simply put it into my preference xml file:

<PreferenceCategory 
    android:title="@string/pref_header_behavior"
    android:key="behavior">

    <com.pavelsikun.seekbarpreference.SeekBarPreference
        android:key="workSessionDuration"
        android:title="@string/pomowork_length"
        android:defaultValue="25"
        seekbar:msbp_minValue="1"
        seekbar:msbp_maxValue="60"
        seekbar:msbp_interval="1"
        seekbar:msbp_measurementUnit="@string/minutes"/>

But what do you mean it's not working for you?

from materialseekbarpreference.

nmesisca avatar nmesisca commented on August 25, 2024

@andreaaa thanks for coming back to me mate. The only thing that could cause some problem might be the fact that I am using the AppCompatDelegate in order to have tinting on older versions of Android.
In the specific, the issue is that on 6.0 dragging the seekbar causes it only to move of 1 interval, then it stops, forcing you to drag it again and again to make it move. the exact same apk when run on 5.x is flawless. My implementation is very standard, pretty much like yours so I dont' see how I could have caused this to happen.
If anyone is willing to give this library a run using AppCompatDelegate it would be very appreciated.
Also any input from @MrBIMC would be great.
Thanks guys for the help,
N

from materialseekbarpreference.

MrBIMC avatar MrBIMC commented on August 25, 2024

Should be fixed in the latest release. Though I tested only on api-14+.

from materialseekbarpreference.

Related Issues (20)

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.