Code example for Vector

Methods: set

0
        FileFragment fragmentToUpdate = mCachedFragments.get(Integer.valueOf(position));
        if (fragmentToUpdate != null) {
            mObsoleteFragments.add(fragmentToUpdate);
        } 
        mObsoletePositions.add(Integer.valueOf(position));
        mImageFiles.set(position, file);
    } 
     
     
    public void updateWithDownloadError(int position) {
        FileFragment fragmentToUpdate = mCachedFragments.get(Integer.valueOf(position));
        if (fragmentToUpdate != null) {
            mObsoleteFragments.add(fragmentToUpdate);
        } 
        mDownloadErrors.add(Integer.valueOf(position));
    } 
     
    public void clearErrorAt(int position) {
        FileFragment fragmentToUpdate = mCachedFragments.get(Integer.valueOf(position));
        if (fragmentToUpdate != null) {
Contextual code suggestions in your IDE  Get Codota for Java