Code example for ListFragment

Methods: getActivity, getListView, getView

0
     */ 
    private void onOutletsQueryComplete(Cursor cursor) {
        if (mCursor != null) {
            // In case cancelOperation() doesn't work and we end up with consecutive calls to this 
            // callback. 
            getActivity().stopManagingCursor(mCursor);
            mCursor = null;
        } 
 
        mCursor = cursor;
        getActivity().startManagingCursor(mCursor);
        mAdapter.changeCursor(mCursor);
        if (mCheckedPosition >= 0 && getView() != null) {
            getListView().setItemChecked(mCheckedPosition, true);
        } 
    } 
 
//    /** 
//     * Handle {@link TracksQuery} {@link Cursor}. 
//     */ 
//    private void onProbesQueryComplete(Cursor cursor) {