Add ViewPropertyAnimator for easy View animations
A demo in ApiDemos conflicted with the new animate() API in View. The method was internal, so it was renamed to avoid the conflict. Change-Id: Id6dffc84fa0800677a0b67bee9c78f26da775d26
This commit is contained in:
@@ -71,7 +71,7 @@ public class GameView extends View {
|
||||
|
||||
private final Runnable mAnimationRunnable = new Runnable() {
|
||||
public void run() {
|
||||
animate();
|
||||
animateFrame();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -322,7 +322,7 @@ public class GameView extends View {
|
||||
mObstacles.clear();
|
||||
}
|
||||
|
||||
void animate() {
|
||||
void animateFrame() {
|
||||
long currentStepTime = SystemClock.uptimeMillis();
|
||||
step(currentStepTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user