Java Code Examples for de.robv.android.xposed.XSharedPreferences#getStringSet()

The following examples show how to use de.robv.android.xposed.XSharedPreferences#getStringSet() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XSPUtils.java    From XMiTools with GNU General Public License v3.0 4 votes vote down vote up
/**
 * 获取一言API源
 */
public static Set<String> getOneSentenceApiSources(XSharedPreferences xsp) {
    return xsp.getStringSet(PrefConst.ONE_SENTENCE_API_SOURCES, new HashSet<>());
}
 
Example 2
Source File: XSPUtils.java    From XMiTools with GNU General Public License v3.0 4 votes vote down vote up
/**
 * 获取Hitokoto种类
 */
public static Set<String> getHitokotoCategories(XSharedPreferences xsp) {
    return xsp.getStringSet(PrefConst.HITOKOTO_CATEGORIES, new HashSet<>());
}
 
Example 3
Source File: XSPUtils.java    From XMiTools with GNU General Public License v3.0 4 votes vote down vote up
/**
 * 获取今日诗词种类
 */
public static Set<String> getOnePoemCategories(XSharedPreferences xsp) {
    return xsp.getStringSet(PrefConst.ONE_POEM_CATEGORIES, new HashSet<>());
}