AnimatedCircleLoadingView
AnimatedCircleLoadingView copied to clipboard
Fragment replace problem
If the AnimatedCircleLoadingView is in another fragment and is used .replace() to show that fragment, the animation does not start.
Yes, I'm facing a similar issue. Any suggestion?
A workaround that seems to work:
//in fragment's onCreateView
handler.post(() -> {
circleLoadingView.getChildAt(0).setBackgroundColor(Color.TRANSPARENT);
circleLoadingView.startIndeterminate();
});