Parent Directory | Revision Log | Patch
revision 1621 by torben, Tue Feb 15 09:55:08 2011 UTC | revision 1622 by torben, Tue Oct 25 17:24:09 2011 UTC | |
---|---|---|
# | Line 231 public class ImageAdapter extends BaseAd | Line 231 public class ImageAdapter extends BaseAd |
231 | return res; | return res; |
232 | } | } |
233 | ||
234 | public String getItemCaption(int idx) { | |
235 | return mImages.get(idx).caption.split(" ")[0].replace(',', ' '); | |
236 | } | |
237 | ||
238 | public String getItemFilename(int idx) { | |
239 | File f = new File(mImages.get(idx).path); | |
240 | return f.getName().split("_")[0]; | |
241 | } | |
242 | ||
243 | ||
244 | ||
245 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |