protected static class

ContactsPreferencesActivity.AccountDisplay

extends Object
java.lang.Object
   ↳ com.android.contacts.ui.ContactsPreferencesActivity.AccountDisplay

Class Overview

ContactsPreferencesActivity.GroupDelta details for a single Account, usually shown as children under a single expandable group.

Summary

Fields
public String mName
public ArrayList<ContactsPreferencesActivity.GroupDelta> mSyncedGroups
public String mType
public ContactsPreferencesActivity.GroupDelta mUngrouped
public ArrayList<ContactsPreferencesActivity.GroupDelta> mUnsyncedGroups
Public Constructors
ContactsPreferencesActivity.AccountDisplay(ContentResolver resolver, String accountName, String accountType)
Build an ContactsPreferencesActivity.AccountDisplay covering all Groups under the given Account.
Public Methods
void buildDiff(ArrayList<ContentProviderOperation> diff)
Build set of ContentProviderOperation to persist any user changes to ContactsPreferencesActivity.GroupDelta rows under this Account.
void setShouldSync(ContactsPreferencesActivity.GroupDelta child, boolean shouldSync, boolean attemptRemove)
Set putShouldSync(boolean), and file internally based on updated state.
void setShouldSync(boolean shouldSync)
void setShouldSync(ContactsPreferencesActivity.GroupDelta child, boolean shouldSync)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public String mName

public String mType

Public Constructors

public ContactsPreferencesActivity.AccountDisplay (ContentResolver resolver, String accountName, String accountType)

Build an ContactsPreferencesActivity.AccountDisplay covering all Groups under the given Account.

Public Methods

public void buildDiff (ArrayList<ContentProviderOperation> diff)

Build set of ContentProviderOperation to persist any user changes to ContactsPreferencesActivity.GroupDelta rows under this Account.

public void setShouldSync (ContactsPreferencesActivity.GroupDelta child, boolean shouldSync, boolean attemptRemove)

Set putShouldSync(boolean), and file internally based on updated state.

public void setShouldSync (boolean shouldSync)

public void setShouldSync (ContactsPreferencesActivity.GroupDelta child, boolean shouldSync)