Skip to content

Commit dc4f24a

Browse files
committed
Resolves #4
1 parent c039a73 commit dc4f24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/bhargavms/dotloader/DotLoader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ public void run() {
215215
}
216216

217217
private void _startAnimation() {
218+
initAnimation();
218219
for (Dot mDot : mDots) {
219220
mDot.positionAnimator.start();
220221
}
@@ -372,7 +373,6 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
372373
}
373374
mFromY = height - mDotRadius;
374375
mToY = mDotRadius;
375-
initAnimation();
376376
setMeasuredDimension(width, height);
377377
}
378378

0 commit comments

Comments
 (0)