Skip to content

not smoothly #1

Open
Open

Description

@borjaruiz

Hi, very nice library, I have a problem:
magicProgressCircle.setSmoothPercent(0.8f) is not working.
The progressCircle isn't animated.

Thanks in advance

Activity

  1. Jacksgong commented on Feb 14, 2016

    @Jacksgong
    Collaborator

    Could you provide your code, Let me check it. I couldn't find out the cause from your said.

  2. self-assigned this
    on Feb 14, 2016
  3. borjaruiz commented on Feb 16, 2016

    @borjaruiz
    Author

    I just use this in the onCreateView() of my fragment, the layout is like the example:

    magicProgressCircle =(MagicProgressCircle) v.findViewById(R.id.demo_mpc);
    magicProgressCircle.setSmoothPercent(0.8f);

    Sometimes it works and others not

  4. Jacksgong commented on Feb 17, 2016

    @Jacksgong
    Collaborator

    Sorry... I didn't encounter similar problems, could you provide your demo project source code(by Gmail: igzhenjie@gmail.com or GitHub project), I will do my best to find out the cause.


    .... I suspect there may be the Smooth-Mechanism that leads to this problem.

    if the current provider percent(the aim percent) compared to the last provider percent more than minInternalPercent(we use the default value: 0.03), it will be split to the several smoothInternalPercent(we use the default value: 0.01) and with the smoothIncreaseDelayMillis(we use the default value: 1ms).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions