View: <Button Command="{Binding GetChangeLogCommand}"
ViewModel: GetChangeLogCommand = new DelegateCommand(GetChangeLog);
Method:
public ICommand GetChangeLogCommand { get; set; } private async void GetChangeLog(bool isLatest) { // code goes here . . . } I'm going to useGetChangeLogCommand multiple time and pass boolean parameter is it possible with MVVM sorry I'm new with this.
Buttonyou can also bind a property calledCommandParameter. This value will be passed to your command-handler