Skip to content

Commit

Permalink
updating the test sample with proper data source intialization code
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumarkarunanithi committed Nov 14, 2024
1 parent 8542842 commit 8fa9023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ internal class EmptyViewWithDataTemplateSelectorViewModel : INotifyPropertyChang
public EmptyViewWithDataTemplateSelectorViewModel()
{
source = new List<Monkey>();
Monkeys = new ObservableCollection<Monkey>(source);
CreateMonkeyCollection();
Monkeys = new ObservableCollection<Monkey>(source);
}

public partial class Monkey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ internal class Issue25224ViewModel : INotifyPropertyChanged
public Issue25224ViewModel()
{
source = new List<Monkey>();
Monkeys = new ObservableCollection<Monkey>(source);
CreateMonkeyCollection();
Monkeys = new ObservableCollection<Monkey>(source);
}

private void CreateMonkeyCollection()
Expand Down

0 comments on commit 8fa9023

Please sign in to comment.