using TForms = Xamarin.Forms.Platform.Tizen.Forms;
[assembly: ExportRenderer(typeof(Background), typeof(BackgroundRenderer))]
+
namespace Tizen.Xamarin.Forms.Extension.Renderer
{
public class BackgroundRenderer : ViewRenderer<Background, EBackground>
void UpdateImage()
{
- Control.File = ResourcePath.GetPath(Element.Image.File);
+ if (Element.Image != null)
+ Control.File = ResourcePath.GetPath(Element.Image.File);
}
void UpdateOption()
}
}
}
-}
+}
\ No newline at end of file