I'm making app with using Xamarin.forms. I'm drawing 2d view with using SkiaSharp.
I'm able to use SetNeedDisplay on iOS pcl side to make animation.
But I want to call it from Forms pcl. Is there any method like that?
I'm making app with using Xamarin.forms. I'm drawing 2d view with using SkiaSharp.
I'm able to use SetNeedDisplay on iOS pcl side to make animation.
But I want to call it from Forms pcl. Is there any method like that?
SkiaSharp Views for Xamarin.Forms provides the
InvalidateSurface()
for this particular reason:https://developer.xamarin.com/api/member/SkiaSharp.Views.Forms.SKCanvasView.InvalidateSurface()/
and
https://developer.xamarin.com/api/member/SkiaSharp.Views.Forms.SKGLView.InvalidateSurface()/