Code example for Vector

Methods: indexOf

0
        mObsoletePositions.remove(Integer.valueOf(i));
        return fragment;
    } 
 
    public int getFilePosition(OCFile file) {
        return mImageFiles.indexOf(file);
    } 
     
    @Override 
    public int getCount() { 
        return mImageFiles.size();
    } 
 
    @Override 
    public CharSequence getPageTitle(int position) {
        return mImageFiles.get(position).getFileName();
    } 
 
     
    public void updateFile(int position, OCFile file) {
Stop searching for code, let great code find you!  Add Codota to your java IDE