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) {
Stop searching for code, let great code find you!  Add Codota to your java IDE