-
public class SearchPreferenceResult
-
-
Method Summary
Modifier and Type Method Description StringgetKey()Returns the key of the preference pressed StringgetScreen()Returns the screen in which the result was found intgetResourceFile()Returns the file in which the result was found voidhighlight(PreferenceFragmentCompat prefsFragment)Highlight the preference that was found voidcloseSearchPage(AppCompatActivity activity)Closes the search results page -
-
Method Detail
-
getResourceFile
int getResourceFile()
Returns the file in which the result was found
-
highlight
void highlight(PreferenceFragmentCompat prefsFragment)
Highlight the preference that was found
- Parameters:
prefsFragment- Fragment that contains the preference
-
closeSearchPage
void closeSearchPage(AppCompatActivity activity)
Closes the search results page
- Parameters:
activity- The current activity
-
-
-
-