public Drawable loadDrawable(String url) { if (tfh == null) { tfh = new TiFileHelper(tiContext.getActivity()); } return tfh.loadDrawable(url, false); }
private Drawable getDrawableFromUrl(String url) { TiUrl imageUrl = new TiUrl((String) url); TiFileHelper tfh = new TiFileHelper(TiApplication.getInstance()); return tfh.loadDrawable(imageUrl.resolve(), false); }
public Drawable getBackgroundImageDrawable(KrollProxy proxy, String path) { String url = proxy.resolveUrl(null, path); return TiFileHelper.loadDrawable(url); }