This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package suzp1984.github.io.exapidemo.animation | |
| import android.graphics.Camera | |
| import android.view.animation.Animation | |
| import android.view.animation.Transformation | |
| class FlipAnimation(fromDegre: Float, toDegre: Float, centerX : Float, centerY : Float) : Animation() { | |
| var fromDegree : Float = 0.0f | |
| var toDegree : Float = 0.0f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Main { | |
| public static void main(String[] args) { | |
| Printer p = new Printer(); | |
| Thread t1 = new NumberPrinter(p); | |
| Thread t2 = new LetterPrinter(p); | |
| t1.start(); | |
| t2.start(); | |
| } |
NewerOlder