diff --git a/astrid/src/com/todoroo/astrid/ui/TaskListFragmentPager.java b/astrid/src/com/todoroo/astrid/ui/TaskListFragmentPager.java index 9731343e0..0b057c2d8 100644 --- a/astrid/src/com/todoroo/astrid/ui/TaskListFragmentPager.java +++ b/astrid/src/com/todoroo/astrid/ui/TaskListFragmentPager.java @@ -13,8 +13,11 @@ import com.todoroo.astrid.utility.Flags; public class TaskListFragmentPager extends ViewPager { + private static final int OFFSCREEN_PAGE_LIMIT = 2; + public TaskListFragmentPager(Context context, AttributeSet attrs) { super(context, attrs); + setOffscreenPageLimit(OFFSCREEN_PAGE_LIMIT); } @Override