Code example for CursorLoader

Methods: getContext

0
        super(context);
    } 
 
    @Override 
    protected Cursor onLoadInBackground() {
        SqlCacheHelper sqlHelper = SqlCacheHelper.getInstance(getContext());
        return sqlHelper.getParticipants();
    } 
}