Arnold Buchmueller
Arnold Buchmueller
What if you don't know what response you're expecting? Lets say there is an error while you expect Response1: ``` ... ``` Or there are different response types inherited from...
Take a look at this unresolved question years ago: https://stackoverflow.com/questions/34046908/retrofit-and-simplexml-for-unknown-root-element
I know at least one xml protocol (by CISCO) which is actually based on different root tags and those are not bound to specific endpoints. So you'll never know what...
Hence people are starting to create implementations based on bad practices. https://github.com/NaikSoftware/StompProtocolAndroid/issues/18 (last comment)
I did a small gist with my own ported code from iOS: https://gist.github.com/heyarny/d6763eefef89da1d4eb69dd0d8263500 Use it as you like. It's easy, simple & extendable.
@forresthopkinsa I guess you didn't get it right. I mentioned "subscriptions" in term of this library, not STOMP. Since you also "subscribe" to lifecycle events with this library. ``` mStompClient.lifecycle().subscribe(lifecycleEvent...
@Elrhino thank you, but for your information: ``` public GQuery mouseenter(Function... f) { if (f == null || f.length == 0) { // handle trigger of mouseleave return triggerHtmlEvent("mouseenter"); }...
oh, and not to mention, mouseenter & mouseleave do not behave in gwtquery like specified in jquery or elsewhere. Please take a look at http://api.jquery.com/mouseover/
@meriouma it should trigger only once as long you're within the node tree of the event holder. But gwtquery is triggering it every time you move to any child and...
looks like the event is bound once as "mouseenter" and once again as "mouseover".. I guess you want to bind it ist once as "mouseover" and handle it with your...