Code example for CursorLoader

Methods: getContext

0
        mHourString = hourString;
    } 
 
    @Override 
    protected Cursor onLoadInBackground() {
        SqlCacheHelper sqlHelper = SqlCacheHelper.getInstance(getContext());
        return sqlHelper.getAllHourSection(mHourString);
    } 
 
}