WrapperWidget: create SkArea also for Views with custom draw() method

Previously we only handled custom onDraw() methods
This commit is contained in:
Julian Winkler
2024-05-19 15:04:15 +02:00
parent 2324418813
commit dd3965df8a
4 changed files with 8 additions and 2 deletions

View File

@@ -900,6 +900,9 @@ public class View implements Drawable.Callback {
}
public void onDraw(Canvas canvas) {}
public void draw(Canvas canvas) {
onDraw(canvas);
}
public View(Context context) {
this(context, null);