NGWSettingsFragment

public class NGWSettingsFragment extends NGPreferenceSettingsFragment

Fields

KEY_SYNC

protected static final String KEY_SYNC

mChangeTitle

protected boolean mChangeTitle

mDeleteAccountSummary

protected static String mDeleteAccountSummary

mDeleteAccountWarnMsg

protected static String mDeleteAccountWarnMsg

mOnDeleteAccountListener

protected OnDeleteAccountListener mOnDeleteAccountListener

Methods

addAccountLayers

protected void addAccountLayers(PreferenceGroup screen, IGISApplication application, Account account)

addAutoSyncProperty

protected void addAutoSyncProperty(IGISApplication application, Account account, PreferenceGroup syncCategory)

addDeleteAccountAction

protected Preference addDeleteAccountAction(IGISApplication application, Account account, PreferenceGroup actionCategory)

addEditAccountAction

protected void addEditAccountAction(IGISApplication application, Account account, PreferenceGroup actionCategory)

addPeriodicSyncTime

protected void addPeriodicSyncTime(IGISApplication application, Account account, PreferenceGroup syncCategory)

createPreferences

public void createPreferences(PreferenceScreen screen)

deleteAccountLayers

protected void deleteAccountLayers(IGISApplication application, Account account)

fillAccountPreferences

public void fillAccountPreferences(PreferenceGroup screen, Account account)

fillPreferences

protected void fillPreferences(PreferenceGroup screen)

getLayersForAccount

protected static List<INGWLayer> getLayersForAccount(IGISApplication application, Account account)

getPeriodTitles

public static CharSequence[] getPeriodTitles(Context context)

getPeriodValues

public static CharSequence[] getPeriodValues()

isAccountSyncEnabled

public static boolean isAccountSyncEnabled(Account account, String authority)

onCreate

public void onCreate(Bundle savedInstanceState)

onDeleteAccount

protected void onDeleteAccount()

setAccountSyncEnabled

public static void setAccountSyncEnabled(Account account, String authority, boolean isEnabled)

setOnDeleteAccountListener

public void setOnDeleteAccountListener(OnDeleteAccountListener onDeleteAccountListener)

setStrings

protected void setStrings()

updateAccountLayersCacheData

public static void updateAccountLayersCacheData(IGISApplication application, Account account)