My question is really simple and shot. but hope I can have a clear answer. We can create GWT Image in many ways.
Image image = new Image ( (ImageResource)imageRes);
Image image = new Image ( (ImageResource)imageRes.getSafeUri() );
Image image = new Image ();
image.setUrl((ImageResource)imageRes.getSafeUri().asString() );
My question is: what are the difference among these 3 ways to create a new image using ImageResouce. Which one is best or faster for first-time loading?
Thanks