当客户端在服务器上发送json时,如何显示加载小部件。加载Resty-GWT
从例如GWTP〔实施例,我发现这种方法
/**
* We display a short lock message whenever navigation is in progress.
*
* @param event The {@link LockInteractionEvent}.
*/
@ProxyEvent
public void onLockInteraction(LockInteractionEvent event) {
getView().setLoading(event.shouldLock());
}
如何显示在加载resty,GWT,当它发送的请求?我可以使用onLock互动与resty-gwt吗?
不确定关于GWTP,但也许这个http://stackoverflow.com/a/38392507/5612847将有用。 –