Q. If I'm storing images locally, can I use the ImageSwitcher setImageURI() method instead of the setImageDrawable() method?
A. Of course. In fact, we recommend it. If the graphic is locally available, use the setImageURI() method to greatly simplify the code for loading a graphic into an ImageSwitcher (or ImageView) control. There is no need for streams or Drawable objects in memory.
Q. When using a ViewSwitcher control, can I set my own animations?
A. Yes, you can create any animation you want between the old View control and the new View control. However, keep in mind that once a View control has been switched out, the only way to bring it back is by setting it as the next View control. There is no notion of a previous View control with the ViewSwitcher control.
Was this article helpful?