private void OnItemClicked(ItemListRow itemView) { Dialog.Instance.Clear() .AddText(I18N.Instance.Get("ui_buy") + $" {itemView.Item.ColoredName}?") .AddSpace() .AddOption(I18N.Instance.Get("ui_yes"), () => TriggerBuying(itemView.Item)) .AddOption(I18N.Instance.Get("ui_no")) .Show(); }
private void OnItemRightClicked(ItemListRow itemView) { TriggerBuying(itemView.Item); }
private void OnRowClicked(ItemListRow row) { ItemRemoving?.Invoke(row.Item); }