Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use activity context instead of application context

  • Loading branch information...
commit b15c2f635f90ed1b7c9eacd7357d2a077c4847c7 1 parent 3a12bc7
@thest1 thest1 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/dushyanth/lazylistfragment/UserListFragment.java
View
2  src/com/dushyanth/lazylistfragment/UserListFragment.java
@@ -21,7 +21,7 @@ public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
getLoaderManager().initLoader(USER_LIST_LOADER, null, this);
- mAdapter = new UserListAdapter(getActivity().getApplicationContext(),
+ mAdapter = new UserListAdapter(getActivity(),
null, CursorAdapter.FLAG_REGISTER_CONTENT_OBSERVER);
setListAdapter(mAdapter);
}
Please sign in to comment.
Something went wrong with that request. Please try again.