You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Abhi Patil <pa...@yahoo.com> on 2012/02/09 22:00:47 UTC

Clear Image

I have image copy n past app and works great. One issues. Users are wanting another button to clear the pasted image. Possible? Tried ImageView.clear() no luck. 

Thanks,
Abhi

RE: Clear Image

Posted by "Roger L. Whitcomb" <Ro...@actian.com>.
Hi Abhi,
	Just wondering how you do the paste of the image in the first
place?  Could you provide some small code sample to show the BXML file
(if you're using one) and the code for doing the image paste.  Most
likely if you set the image to null in your ImageView that will do it.
"clear()" is for data binding, which is probably not what you're doing.

Example:
imageView.setImage((Image)null);


~Roger Whitcomb


-----Original Message-----
From: Abhi Patil [mailto:patilinio@yahoo.com] 
Sent: Thursday, February 09, 2012 1:01 PM
To: user@pivot.apache.org
Subject: Clear Image

I have image copy n past app and works great. One issues. Users are
wanting another button to clear the pasted image. Possible? Tried
ImageView.clear() no luck. 

Thanks,
Abhi