We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b108d8 commit e0c9c08Copy full SHA for e0c9c08
packages/ui-canvas/platforms/android/java/com/akylas/canvas/CanvasView.java
@@ -4,12 +4,13 @@
4
import android.view.View;
5
import android.graphics.Canvas;
6
7
-public class CanvasView extends org.nativescript.widgets.GridLayout {
+public class CanvasView extends View {
8
public SizeChangedListener sizeChangedListener = null;
9
public DrawListener drawListener = null;
10
11
public CanvasView(Context context) {
12
super(context);
13
+ setWillNotDraw(false);
14
}
15
16
@Override
0 commit comments