/// <summary>
        /// Show the dialogue
        /// </summary>
        /// <param name="manager"></param>
        public static void ShowFragment(FragmentManager manager, string libraryName, BindDialog callback)
        {
            // Save the parameters statically so that they are available after a configuration change
            libraryToClear = libraryName;
            binder         = callback;

            new ClearProgressDialogFragment().Show(manager, "fragment_clear_progress");
        }
        /// <summary>
        /// Save the playlist and display the dialogue
        /// </summary>
        /// <param name="manager"></param>
        public static void ShowFragment(FragmentManager manager, DeviceSelected callback, BindDialog bindCallback)
        {
            // Save the parameters so that they are available after a configuration change
            reporter = callback;
            binder   = bindCallback;

            new SelectDeviceDialogFragment().Show(manager, "fragment_device_selection");
        }
        /// <summary>
        /// Show the dialogue displaying the scan progress and start the scan
        /// </summary>
        /// <param name="manager"></param>
        public static void ShowFragment(FragmentManager manager, string libraryToScan, CancelRequested callback, BindDialog bindCallback)
        {
            // Save the parameters so that they are available after a configuration change
            libraryName = libraryToScan;
            reporter    = callback;
            binder      = bindCallback;

            new ScanProgressDialogFragment().Show(manager, "fragment_scan_progress");
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Show the dialogue
        /// </summary>
        /// <param name="manager"></param>
        public static void ShowFragment(FragmentManager manager, Library displayLibrary, SourceSelected callback, BindDialog bindCallback)
        {
            // Save the parameters so that they are available after a configuration change
            libraryToDisplay = displayLibrary;
            reporter         = callback;
            binder           = bindCallback;

            new SourceSelectionDialogFragment().Show(manager, "fragment_source_selection");
        }