Added ViewPager to the detail activity ToDoPagerActivity. And applied ViewHolder pattern to the getView() method in ToDoAdapter