com.taobao.weex.common.WXRefreshData Java Examples

The following examples show how to use com.taobao.weex.common.WXRefreshData. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WXBridgeManager.java    From ucar-weex-core with Apache License 2.0 5 votes vote down vote up
/**
 * Refresh instance
 */
public void refreshInstance(final String instanceId, final WXRefreshData jsonData) {
  if (TextUtils.isEmpty(instanceId) || jsonData == null) {
    return;
  }
  mJSHandler.postDelayed(WXThread.secure(new Runnable() {
    @Override
    public void run() {
      invokeRefreshInstance(instanceId, jsonData);
    }
  }), 0);
}
 
Example #2
Source File: WXBridgeManager.java    From weex-uikit with MIT License 5 votes vote down vote up
/**
 * Refresh instance
 */
public void refreshInstance(final String instanceId, final WXRefreshData jsonData) {
  if (TextUtils.isEmpty(instanceId) || jsonData == null) {
    return;
  }
  mJSHandler.postDelayed(WXThread.secure(new Runnable() {
    @Override
    public void run() {
      invokeRefreshInstance(instanceId, jsonData);
    }
  }), 0);
}
 
Example #3
Source File: WXBridgeManager.java    From weex with Apache License 2.0 5 votes vote down vote up
/**
 * Refresh instance
 */
public void refreshInstance(final String instanceId, final WXRefreshData jsonData) {
  if (TextUtils.isEmpty(instanceId) || jsonData == null) {
    return;
  }
  mJSHandler.postDelayed((new Runnable() {
    @Override
    public void run() {
      invokeRefreshInstance(instanceId, jsonData);
    }
  }), 0);
}
 
Example #4
Source File: WXSDKManager.java    From ucar-weex-core with Apache License 2.0 4 votes vote down vote up
void refreshInstance(String instanceId, WXRefreshData jsonData) {
  mBridgeManager.refreshInstance(instanceId, jsonData);
}
 
Example #5
Source File: WXSDKManager.java    From weex-uikit with MIT License 4 votes vote down vote up
void refreshInstance(String instanceId, WXRefreshData jsonData) {
  mBridgeManager.refreshInstance(instanceId, jsonData);
}
 
Example #6
Source File: WXSDKManager.java    From weex with Apache License 2.0 4 votes vote down vote up
void refreshInstance(String instanceId, WXRefreshData jsonData) {
  mBridgeManager.refreshInstance(instanceId, jsonData);
}