diff --git a/astrid/src/com/todoroo/astrid/adapter/TaskAdapter.java b/astrid/src/com/todoroo/astrid/adapter/TaskAdapter.java index d99fe303f..264c89bda 100644 --- a/astrid/src/com/todoroo/astrid/adapter/TaskAdapter.java +++ b/astrid/src/com/todoroo/astrid/adapter/TaskAdapter.java @@ -474,10 +474,7 @@ public class TaskAdapter extends CursorAdapter implements Filterable { activity.runOnUiThread(new Runnable() { @Override public void run() { - ListView listView = activity.getListView(); - int scrollPos = listView.getScrollY(); notifyDataSetInvalidated(); - listView.scrollTo(0, scrollPos); } }); } @@ -799,10 +796,7 @@ public class TaskAdapter extends CursorAdapter implements Filterable { } else { expanded = taskId; } - ListView listView = activity.getListView(); - int scrollPos = listView.getScrollY(); - notifyDataSetChanged(); - listView.scrollTo(0, scrollPos); + notifyDataSetInvalidated(); } }