summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2016-05-25 14:50:21 +0100
committerRui Marinho <me@ruimarinho.net>2016-05-25 14:50:21 +0100
commitc502f47980882e61402f77a55236653a22f706ab (patch)
treee2465e2bb273825b5a65ff6eebfaf58ae8db9549 /Xamarin.Forms.Core
parentf1b61260959983a099430c02318fc4fc3aa9d9c4 (diff)
downloadxamarin-forms-c502f47980882e61402f77a55236653a22f706ab.tar.gz
xamarin-forms-c502f47980882e61402f77a55236653a22f706ab.tar.bz2
xamarin-forms-c502f47980882e61402f77a55236653a22f706ab.zip
[Android] Implement the AppIndexProvider on non-AppCompact, fix KeyValues on AppLinkEntry (#166)
* [Android] Set AppIndexingProvider on non AppCompact activity * [Core] Fix AppLinkEntry KeyValues
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/AppLinkEntry.cs12
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
{