public boolean isFullscreen() { String defaultVal = resource.get(R.bool.prefsFullscreenDefault); return sharedPreferences.getBoolean("fullscreen", Boolean.parseBoolean(defaultVal)); }
public int getPullTimeInSeconds() { String pullTime = sharedPreferences.getString( "pullTimeInSeconds", resource.get(R.integer.prefsPullTimeDefault)); return Integer.parseInt(pullTime); }
public int getPullLimit() { String pullLimit = sharedPreferences.getString("pullLimit", resource.get(R.integer.prefsPullLimitDefault)); return Integer.parseInt(pullLimit); }
public String getApiUrl() { return sharedPreferences.getString("apiUrl", resource.get(R.string.prefsApiUrlDefault)); }