private ContactCursorAdapter adapter;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getListView().addHeaderView(getHeaderView());
adapter = new ContactCursorAdapter(this, null, 0);
<BUG>setListAdapter(adapter);
getLoaderManager().initLoader(0, null, this);</BUG>
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {

private ContactCursorAdapter adapter;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getListView().addHeaderView(getHeaderView());
adapter = new ContactCursorAdapter(this, null, 0);
setListAdapter(adapter);
getActionBar().setDisplayHomeAsUpEnabled(true);
getLoaderManager().initLoader(0, null, this);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
