There are several things you have to do here:
1. Make TodoListActivity extend FragmentActivity.
2. Use this to get the FragmentManager: FragmentManager fm = getSupportFragmentManager();
Code:
public class ToDoListActivity extends FragmentActivity implements NewItemFragment.OnNewItemAddedListener {
FragmentManager fm = getSupportFragmentManager();
I have no idea why they have you create the project with backward support but then don't use the needed support library stuff.
