Created
March 19, 2016 17:12
-
-
Save hansemannn/d0a8e0d501fe32509a96 to your computer and use it in GitHub Desktop.
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
| var Activity = require('android.app.Activity'), | |
| activity = new Activity(Ti.Android.currentActivity), | |
| View = require('android.view.View'), | |
| MyView = android.view.View.extend({ | |
| onDraw: function(canvas) { | |
| // implementation here | |
| } | |
| }), | |
| view = new MyView(activity); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment