forked from osmandapp/OsmAnd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
adeff6a
commit 4aae3fb
Showing
3 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...net/osmand/plus/settings/fragments/search/ShowableSearchablePreferenceDialogProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package net.osmand.plus.settings.fragments.search; | ||
|
||
import androidx.fragment.app.Fragment; | ||
import androidx.preference.Preference; | ||
|
||
import java.util.Optional; | ||
|
||
@FunctionalInterface | ||
public interface ShowableSearchablePreferenceDialogProvider { | ||
|
||
// Fk-TODO: make Fragment parameter an Optional<Fragment> | ||
Optional<ShowableSearchablePreferenceDialog<?>> getShowableSearchablePreferenceDialog(Preference preference, Fragment target); | ||
} |