Skip to content

Commit

Permalink
Fix some command names/refs
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Jul 24, 2023
1 parent aa2bc70 commit 3506567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sample/VirtualListViewSample/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void NotifyPropertyChanged(string propertyName)
public event PropertyChangedEventHandler PropertyChanged;

[RelayCommand]
async Task RefreshAsync()
async Task Refresh()
{
await Task.Delay(3000);
NotifyPropertyChanged(nameof(Adapter));
Expand Down
2 changes: 1 addition & 1 deletion VirtualListView/Controls/VirtualListView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public ICommand RefreshCommand
}

public static readonly BindableProperty RefreshCommandProperty =
BindableProperty.Create(nameof(RefreshCommandProperty), typeof(ICommand), typeof(VirtualListView), default);
BindableProperty.Create(nameof(RefreshCommand), typeof(ICommand), typeof(VirtualListView), default);

public Color RefreshAccentColor
{
Expand Down

0 comments on commit 3506567

Please sign in to comment.