summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-18 00:51:51 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-03-24 04:19:00 (GMT)
commitab5a169dc79dd1e51e56969d2740d6dba308ace9 (patch)
tree4ff16cdb5eb1dd29964b911e0fed6cef9ab3b46d
parentf2c9832a9225e683f13a8ea49b4a8ad3a75c9735 (diff)
downloadxamarin-forms-ab5a169dc79dd1e51e56969d2740d6dba308ace9.zip
xamarin-forms-ab5a169dc79dd1e51e56969d2740d6dba308ace9.tar.gz
xamarin-forms-ab5a169dc79dd1e51e56969d2740d6dba308ace9.tar.bz2
Fix build warning CS4014
Change-Id: Idbbcb5b138504afcdc7e0406b6aaea0dd22228db
-rw-r--r--Xamarin.Forms.Platform.Tizen/Cells/ImageCellRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs2
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Cells/ImageCellRenderer.cs b/Xamarin.Forms.Platform.Tizen/Cells/ImageCellRenderer.cs
index 9492e7c..7bee5c8 100644
--- a/Xamarin.Forms.Platform.Tizen/Cells/ImageCellRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Cells/ImageCellRenderer.cs
@@ -35,7 +35,7 @@ namespace Xamarin.Forms.Platform.Tizen
image.SetAlignment(-1.0, -1.0); // fill
image.SetWeight(1.0, 1.0); // expand
- image.LoadFromImageSourceAsync(imgCell.ImageSource);
+ var task = image.LoadFromImageSourceAsync(imgCell.ImageSource);
return image;
}
else
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
index 8af7bb6..def27a9 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
@@ -90,7 +90,7 @@ namespace Xamarin.Forms.Platform.Tizen
if (!string.IsNullOrEmpty(Element.Image))
{
Control.Image = new Native.Image(Control);
- Control.Image.LoadFromImageSourceAsync(Element.Image);
+ var task = Control.Image.LoadFromImageSourceAsync(Element.Image);
}
else
{
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
index 361f091..42ca074 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
@@ -294,7 +294,7 @@ namespace Xamarin.Forms.Platform.Tizen
else
{
Native.Image iconImage = new Native.Image(Forms.Context.MainWindow);
- iconImage.LoadFromImageSourceAsync(item.Icon);
+ var task = iconImage.LoadFromImageSourceAsync(item.Icon);
button.Image = iconImage;
}