Hi
There is need to filter some places in onPlaceChangeRequest in ActivityManager to prevent call mayStop of currentActivity.
for example, I have ListEditActivity where I can edit list items. This activity managed by ActivityManager this CachingActivityMapper and FilteredActivityMapper.
Also I have ListSelectionItemPlace which indicates currently selected item in the list
After a list item has been edited and selected another item in the list, there is an attempt to change the place to ListSelectionItemPlace
and fired event PlaceChangeRequestEvent. Handler onPlaceChangeRequest in ActivityManager calls mayStop method of ListEditActivity it is returns some message
because item has been edited.
I need to ignore such places change, but I cannot to do it.
method mayStop has no any parameters.
Handle PlaceChangeRequestEvent in ListEditActivity gets no result because event handler is still called in ActivityManager before.
I can subclass ActivityManager for ListEditActivity and override onPlaceChangeRequest method, but I have no access to currentActivity to ask it ignor or not this call.
Have any ideas?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment