summaryrefslogtreecommitdiffstats
path: root/src/com/android/mail/ui/FolderSelectionActivity.java
diff options
context:
space:
mode:
authorVikram Aggarwal <viki@google.com>2013-06-06 11:19:49 -0700
committerVikram Aggarwal <viki@google.com>2013-06-07 13:52:31 -0700
commit37a20ca39be842b4b4cb54d5b5ed418d49d950cf (patch)
tree7f9610ddd75917f4e3547a1491c0fd06e307d72e /src/com/android/mail/ui/FolderSelectionActivity.java
parent287adccce7f8d76c6452de837c5141f2b87d9fcb (diff)
downloadandroid_packages_apps_UnifiedEmail-37a20ca39be842b4b4cb54d5b5ed418d49d950cf.tar.gz
android_packages_apps_UnifiedEmail-37a20ca39be842b4b4cb54d5b5ed418d49d950cf.tar.bz2
android_packages_apps_UnifiedEmail-37a20ca39be842b4b4cb54d5b5ed418d49d950cf.zip
Fist cut of nested folders
1. Rename FolderListFragment.FolderListSelectionListener to FolderSelector. 2. Allow special views to be tapped; all existing special views disallow taps. 3. Allow nested folders in ConversationListFragment. The adapter is responsible for populating the nested folders above the conversations. 4. Add a nested folder special item for the conversation list. This reuses current resources and is particularly ugly. The ugliness will be fixed once we have a UX spec and real assets. 5. The child folders are loaded through an ObjectCursorLoader in the ConversationListFragment. Change-Id: I5eb566d7a1f87c1a11fc6961378d00650a27007d
Diffstat (limited to 'src/com/android/mail/ui/FolderSelectionActivity.java')
-rw-r--r--src/com/android/mail/ui/FolderSelectionActivity.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/mail/ui/FolderSelectionActivity.java b/src/com/android/mail/ui/FolderSelectionActivity.java
index 6a121fb6b..8b8d0a81b 100644
--- a/src/com/android/mail/ui/FolderSelectionActivity.java
+++ b/src/com/android/mail/ui/FolderSelectionActivity.java
@@ -37,7 +37,6 @@ import com.android.mail.R;
import com.android.mail.providers.Account;
import com.android.mail.providers.Folder;
import com.android.mail.providers.FolderWatcher;
-import com.android.mail.ui.FolderListFragment.FolderListSelectionListener;
import com.android.mail.ui.ViewMode.ModeChangeListener;
import com.android.mail.utils.LogTag;
import com.android.mail.utils.LogUtils;
@@ -53,7 +52,7 @@ import java.util.ArrayList;
*/
public class FolderSelectionActivity extends Activity implements OnClickListener,
DialogInterface.OnClickListener, FolderChangeListener, ControllableActivity,
- FolderListSelectionListener {
+ FolderSelector {
public static final String EXTRA_ACCOUNT_SHORTCUT = "account-shortcut";
private static final String LOG_TAG = LogTag.getLogTag();
@@ -364,7 +363,7 @@ public class FolderSelectionActivity extends Activity implements OnClickListener
}
@Override
- public FolderListSelectionListener getFolderListSelectionListener() {
+ public FolderSelector getFolderSelector() {
return this;
}