Copyright (C) 2012 Dagfinn Parnas <dagfinn.parnas@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Sof...
If you think the Android project com.elsewhat.android.slideshow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package com.elsewhat.android.slideshow.api;
/*fromwww.java2s.com*/import java.io.File;
import android.content.Context;
/**
* Representing photos that are cached for which we only have the filename
* This will only occur when the photos list has failed download
*
*
* @author dagfinn.parnas
*
*/publicclass SlideshowPhotoCached extends SlideshowPhoto {
protectedint largePhotoDrawableId;
protected Context context;
protected String fileName;
public SlideshowPhotoCached(Context context,File file){
super("","",null,null,"dummy url");
this.context=context;
fileName=file.getName();
}
@Override
public String getFileName() {
return fileName;
}
}