diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-01-18 09:51:51 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-03-24 13:19:00 +0900 |
commit | ab5a169dc79dd1e51e56969d2740d6dba308ace9 (patch) | |
tree | 4ff16cdb5eb1dd29964b911e0fed6cef9ab3b46d /Xamarin.Forms.Platform.Tizen | |
parent | f2c9832a9225e683f13a8ea49b4a8ad3a75c9735 (diff) | |
download | xamarin-forms-ab5a169dc79dd1e51e56969d2740d6dba308ace9.tar.gz xamarin-forms-ab5a169dc79dd1e51e56969d2740d6dba308ace9.tar.bz2 xamarin-forms-ab5a169dc79dd1e51e56969d2740d6dba308ace9.zip |
Fix build warning CS4014
Change-Id: Idbbcb5b138504afcdc7e0406b6aaea0dd22228db
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
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 9492e7c6..7bee5c8a 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 8af7bb69..def27a99 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 361f0912..42ca0744 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; } |