зеркало из https://github.com/DeGsoft/maui-linux.git
Add preserve attr to 1326,1400
This commit is contained in:
Родитель
4025ae51ea
Коммит
441d5166c5
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче