Skip to content

Commit 2bbcfc4

Browse files
Updated Sample to work with v1.0.8 changes
1 parent ad0c972 commit 2bbcfc4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

samples/Xamarin/SimpleContacts/SimpleContacts/Models/ContactsModelList.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static ContactsModelList Instance
1212
{
1313
get
1414
{
15-
lock (_Locker)
15+
lock (_InstanceLocker)
1616
{
1717
return _Instance ?? (_Instance= new ContactsModelList());
1818
}
@@ -21,7 +21,7 @@ public static ContactsModelList Instance
2121
#endregion
2222

2323
#region variables
24-
protected readonly static object _Locker = new object();
24+
protected readonly static object _InstanceLocker = new object();
2525
private static ContactsModelList _Instance = null;
2626
#endregion
2727
}

samples/Xamarin/SimpleContacts/SimpleContacts/Views/ContactsView.xaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
xmlns:b="clr-namespace:SimpleContacts.Views.Base"
44
xmlns="http://xamarin.com/schemas/2014/forms"
55
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6-
xmlns:f="clr-namespace:SimpleContacts.Fonts"
76
Title="Contacts"
87
x:Class="SimpleContacts.Views.ContactsView"
98
x:TypeArguments="vm:ContactsViewModel"
109
xmlns:v="clr-namespace:SimpleContacts.Views"
1110
xmlns:vm="clr-namespace:SimpleContacts.ViewModels"
12-
xmlns:c="clr-namespace:SimpleContacts.Controls"
1311
xmlns:fab="clr-namespace:ThunderDesign.Xamarin.Forms.FloatingActionButton.Controls;assembly=ThunderDesign.Xamarin.Forms.FloatingActionButton">
1412
<ContentPage.Content>
1513
<RefreshView Command="{Binding Source={RelativeSource AncestorType={x:Type v:ContactsView}}, Path=RefreshViewCommand}" IsRefreshing="{Binding IsBusy, Mode=OneWay}">

0 commit comments

Comments
 (0)