public static void InitProgressNotifier() { if (progressNotifier != null) { return; } progressNotifier = new ProgressNotifier(context, "Receive failed."); progressNotifier.SendInitialNotification("Connecting...", ""); }
public static void InitProgressNotifier(string title = "Connecting...") { if (progressNotifier != null) { progressNotifier.UpdateTitle(title); return; } progressNotifier = new ProgressNotifier(context); progressNotifier.SendInitialNotification(title, ""); }