Hi,
How to set code splitting for entire body of methods with return type other
than void as void onSuccess() will not allow to return anything?
public Object myMethod() {
//
Object object = new Object();
// method body
return object;
}
After we code split point as,
public Object myMethod() {
GWT.runAsync(new RunAsyncCallback() {
@Override
public void onSuccess() {
//
Object object = new Object();
// method body
return object;
}
@Override
public void onFailure(Throwable reason) {
}
});
}
This will give error as onSuccess has void return type.
Regards
Deepak
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.