commit | f4ecb028a03f65beaf1c2562e554965729da4efb | [log] [tgz] |
---|---|---|
author | Ken Ashcraft <kash@google.com> | Mon Sep 14 12:58:59 2015 -0700 |
committer | Ken Ashcraft <kash@google.com> | Mon Sep 14 12:58:59 2015 -0700 |
tree | 118a9afd58f918cb11eb2bab4a73ad5a23692b4a | |
parent | 8a3b10c8c0c9499f1426d1176a56e5d5b8c1388a [diff] |
todos: Open the newly created list. Change-Id: I420b2c8fad05958a3979761291c856191de4380d
diff --git a/android/app/src/main/java/io/v/android/apps/todos/NavigationDrawerFragment.java b/android/app/src/main/java/io/v/android/apps/todos/NavigationDrawerFragment.java index 6b68836..72fe0f1 100644 --- a/android/app/src/main/java/io/v/android/apps/todos/NavigationDrawerFragment.java +++ b/android/app/src/main/java/io/v/android/apps/todos/NavigationDrawerFragment.java
@@ -139,6 +139,7 @@ public void onClick(DialogInterface dialog, int which) { mListNames.add(input.getText().toString()); refreshList(); + selectItem(mListNames.size() - 1); } }) .setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {