I'm looking forward the method for accessing the current image's Uri from an ImageView, to save it to my database, but i've only found the setter. Where's the getter??
+1
A:
There is no getter. Since you are the one calling setImageURI()
, save the Uri
to your database when you call that method.
Bear in mind that ImageViews
do not always have a Uri
(e.g., drawable resource, generated bitmap), which is why there is no getter.
CommonsWare
2010-05-09 15:50:08
Thanks for your help!
Clem
2010-05-09 16:33:20