Add preserve attr to 1326,1400

This commit is contained in:
Samantha Houts 2019-01-15 15:55:57 -08:00
Родитель 4025ae51ea
Коммит 441d5166c5
2 изменённых файлов: 9 добавлений и 8 удалений

Просмотреть файл

@ -33,17 +33,18 @@ namespace Xamarin.Forms.Controls.Issues
Content.BindingContext = _model;
}
[Preserve(AllMembers = true)]
class MyItem
{
public String Description { get; set; }
}
[Preserve(AllMembers = true)]
class MyItemsViewModel
{
public List<MyItem> MyItems { get; set; } = new List<MyItem>();
}
[Preserve(AllMembers = true)]
class MyViewCell : ViewCell
{
Label label;

Просмотреть файл

@ -88,8 +88,8 @@ namespace Xamarin.Forms.Controls.Issues
List.ItemsSource = newlist;
}
}
public class MyData : INotifyPropertyChanged
[Preserve(AllMembers = true)]
public class MyData : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
@ -113,8 +113,8 @@ namespace Xamarin.Forms.Controls.Issues
if (PropertyChanged != null) PropertyChanged(this, e);
}
}
public class MyGroup : ObservableCollection<MyData>, INotifyPropertyChanged
[Preserve(AllMembers = true)]
public class MyGroup : ObservableCollection<MyData>, INotifyPropertyChanged
{
string _headertitle;
@ -131,7 +131,7 @@ namespace Xamarin.Forms.Controls.Issues
}
}
}
[Preserve(AllMembers = true)]
internal class VCTest : ViewCell
{
public VCTest()
@ -141,7 +141,7 @@ namespace Xamarin.Forms.Controls.Issues
View = label;
}
}
[Preserve(AllMembers = true)]
internal class VCHeader : ViewCell
{
public VCHeader()