package com.dwdesign.tweetings.preference;
import com.dwdesign.tweetings.Constants;
import com.dwdesign.tweetings.R;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.DialogInterface.OnMultiChoiceClickListener;
import android.content.SharedPreferences;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceClickListener;
import android.util.AttributeSet;
public class HomeRefreshContentPreference extends MultiSelectListPreference implements Constants {
protected String[] getNames() {
return getContext().getResources().getStringArray(R.array.entries_home_refresh_content);
}
protected String[] getKeys() {
return new String[]{ PREFERENCE_KEY_HOME_REFRESH_MENTIONS, PREFERENCE_KEY_HOME_REFRESH_DIRECT_MESSAGES };
}
protected boolean[] getDefaults() {
return new boolean[]{ false, false };
}
public HomeRefreshContentPreference(final Context context) {
this(context, null);
}
public HomeRefreshContentPreference(final Context context, final AttributeSet attrs) {
this(context, attrs, android.R.attr.preferenceStyle);
}
public HomeRefreshContentPreference(final Context context, final AttributeSet attrs, final int defStyle) {
super(context, attrs, defStyle);
}
}