I noticed that somehow the loop seems to stops at the point where it
should delete the Image Element:
else if ( e.getType() == EventType.FORM_BUTTON_CLICKED) {
if (e.getButtonName().equals(button)) {
Blip b = e.getBlip();
TextView textView =
Hi,
I believe the problem is that you are trying to delete element using
absolute index position. The moment you delete the first element in your
loop, the absolute positions for the other elements have changed as a
result. This is why the subsequent deletion would fail. If you want to
delete
Ok...
This could happen, true.
But in my case the first elemet it finds is the last inserted Button.
The element before is the Image I want to delete.
So deleting the button wouldn't change the absolute position of the
image, right?
But anyways, if I make a check if the element is an image
Hi Lincoln,
I wrote a quick sample and I think there might be a bug with deleting image
element. I will file an bug for this. Thanks for the report :)
Austin
On Fri, Oct 16, 2009 at 1:00 PM, Linc ala...@online.de wrote:
Ok...
This could happen, true.
But in my case the first elemet it
Ok thank you!
Hopefully someone can fix it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group,