Code example for CursorLoader

Methods: loadInBackgroundsetSelectionArgs

0
        return newCursor(); 
    } 
 
    private Cursor newCursor() {
        long sessionId = CursorExtras.getSessionId(cursorExtras);
        setSelectionArgs(Array.of(sessionId));
        Cursor c = super.loadInBackground();
        return c != null ? new CursorExtrasWrapper(c, cursorExtras) : null;
    } 
 
    protected abstract Bundle createSession(long sessionId, String more);
} 
Contextual code suggestions in your IDE  Get Codota for Java