Use ListFragment.setListAdapter, not ListView.setAdapter.
Otherwise ListFragment wouldn't notice an adapter is set. Bug 2841063 Change-Id: Iddb40125020ee2b72ed72b93643582929dc7f7eb
This commit is contained in:
parent
18452ba28c
commit
d73d8e4839
@ -410,7 +410,7 @@ public class AccountFolderListFragment extends ListFragment
|
||||
// Now create a new list adapter and install it
|
||||
mListAdapter = AccountsAdapter.getInstance((Cursor)params[0], (Cursor)params[1],
|
||||
mActivity, (Long)params[2], AccountFolderListFragment.this);
|
||||
mListView.setAdapter(mListAdapter);
|
||||
setListAdapter(mListAdapter);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user