diff options
Diffstat (limited to 'Xamarin.Forms.Core/AppLinkEntry.cs')
-rw-r--r-- | Xamarin.Forms.Core/AppLinkEntry.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/AppLinkEntry.cs b/Xamarin.Forms.Core/AppLinkEntry.cs index 6942aa10..154b9691 100644 --- a/Xamarin.Forms.Core/AppLinkEntry.cs +++ b/Xamarin.Forms.Core/AppLinkEntry.cs @@ -5,6 +5,13 @@ namespace Xamarin.Forms { public class AppLinkEntry : Element, IAppLinkEntry { + readonly Dictionary<string, string> keyValues; + + public AppLinkEntry() + { + keyValues = new Dictionary<string, string>(); + } + public static readonly BindableProperty TitleProperty = BindableProperty.Create(nameof(Title), typeof(string), typeof(AppLinkEntry), default(string)); public static readonly BindableProperty DescriptionProperty = BindableProperty.Create(nameof(Description), typeof(string), typeof(AppLinkEntry), default(string)); @@ -33,7 +40,10 @@ namespace Xamarin.Forms set { SetValue(IsLinkActiveProperty, value); } } - public IDictionary<string, string> KeyValues => new Dictionary<string, string>(); + public IDictionary<string, string> KeyValues + { + get { return keyValues; } + } public ImageSource Thumbnail { |