public AlertData(string identifier, string message, bool isTwoButton, bool isInput, Alert.ButtonResult callback) { this.identifier = identifier; this.message = message; this.isTwoButton = isTwoButton; this.isInput = isInput; this.callback = callback; }
public void showAlert(string identifier, string message, bool isTwoButton, bool isInput, Alert.ButtonResult callback) { listAlert.Add(new AlertData(identifier, message, isTwoButton, isInput, callback)); isShowAlert = true; }