private void FileTapped(object sender, EventArgs e) { var layout = (FlexLayout)sender; var tap = (TapGestureRecognizer)layout.GestureRecognizers[0]; var selectedFile = tap?.CommandParameter as ComplaintImagesDTO; FileClicked?.Invoke(sender, selectedFile); }
private void OnFileClicked(CloudFileLabel label) { FileClicked?.Invoke(label); }