in AMP/Views/Commands/ItemClickCommand.cs [72:88]
private static void OnItemClick(object sender, ItemClickEventArgs e)
{
Type castType;
var control = sender as ListViewBase;
var command = GetCommand(control);
var param = GetCommandParameter(control);
var generics = command.GetType().GetGenericArguments();
if (generics.Length > 0)
castType = generics[0];
if (command != null)
if (param is null && command.CanExecute(e.ClickedItem))
command.Execute(e.ClickedItem);
else if (param != null && command.CanExecute(param))
command.Execute(param);
}