AnimatedCircleLoadingView icon indicating copy to clipboard operation
AnimatedCircleLoadingView copied to clipboard

Fragment replace problem

Open luizfp opened this issue 10 years ago • 2 comments

If the AnimatedCircleLoadingView is in another fragment and is used .replace() to show that fragment, the animation does not start.

luizfp avatar Feb 25 '16 18:02 luizfp

Yes, I'm facing a similar issue. Any suggestion?

anshchauhan avatar Jul 23 '16 12:07 anshchauhan

A workaround that seems to work:

//in fragment's onCreateView
handler.post(() -> {
    circleLoadingView.getChildAt(0).setBackgroundColor(Color.TRANSPARENT); 
    circleLoadingView.startIndeterminate();
});

tgalal avatar Aug 29 '17 14:08 tgalal