class WXRefresh extends WXBaseRefresh implements WXSwipeLayout.WXOnRefreshListener {

  @Override
  public void onRefresh() {
    if(isDestoryed()){
      return;
    }
    
    ImmutableDomObject dom;
    if ((dom = getDomObject())!= null && dom.getEvents().contains(Constants.Event.ONREFRESH)) {
      fireEvent(Constants.Event.ONREFRESH);
    }
  }

  @Deprecated public  WXRefresh(WXSDKInstance instance, WXDomObject dom, WXVContainer parent, String instanceId, boolean isLazy);
  public  WXRefresh(WXSDKInstance instance, WXDomObject node, WXVContainer parent, boolean lazy);

}