Skip to content

edge problem after delay to setData #5

@pooryadb

Description

@pooryadb

Hi, thank u for amazing rings!
i need to setData (animate) after a delay;
so use :
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
//.......some code
mRingProgress.setData(mlistRing, 1500);
}
}, 5000);
but after animate ringProgress the edge of ring on left and top and right and bottom is cut out !
capture
if i setData without delay, everything works well !

also used :

  1. runOnUiThread
  2. .invalidate()
  3. .postInvalidate()

but not worked!

how can i solve this?!
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions