restore

Restores existing instance of the dialog if exists.

Return

Existing dialog instance or null if not existing.

Parameters

fragmentManager

The FragmentManager to use.

listener

The new SettingsDialog to use for the restored dialog instance