public static MessageDialog NewInstance(string message, string title) { var dialog = new MessageDialog(); var args = new Bundle(); args.PutString(MESSAGE, message); args.PutString(TITLE, title); dialog.Arguments = args; return dialog; }
public static MessageDialog NewInstance(int message, int title) { var dialog = new MessageDialog(); var args = new Bundle(); args.PutInt(MESSAGE, message); args.PutInt(TITLE, title); dialog.Arguments = args; return dialog; }