@Test public void testAddChild() throws Exception { WXComponent child = WXDivTest.create(component); ComponentTest.create(child); component.addChild(child); child = WXHeaderTest.create(component); ComponentTest.create(child); component.addChild(child); }
@Override public void addChild(WXComponent child, int index) { super.addChild(child, index); if (child == null || index < -1) { return; } setRefreshOrLoading(child); }
WXListComponent extends BasicListComponent<BounceRecyclerView> { @Override public void addChild(WXComponent child, int index) { super.addChild(child, index); if (child == null || index < -1) { return; } setRefreshOrLoading(child); } }
WXListComponent extends BasicListComponent<BounceRecyclerView> { @Override public void addChild(WXComponent child, int index) { super.addChild(child, index); if (child == null || index < -1) { return; } setRefreshOrLoading(child); } @Deprecated  WXListComponent(WXSDKInstance instance, WXDomObject dom, WXVContainer parent, String instanceId, boolean isLazy);  WXListComponent(WXSDKInstance instance, WXDomObject node, WXVContainer parent, boolean lazy); }
WXListComponent extends BasicListComponent<BounceRecyclerView> { @Override public void addChild(WXComponent child, int index) { super.addChild(child, index); if (child == null || index < -1) { return; } setRefreshOrLoading(child); } @Deprecated  WXListComponent(WXSDKInstance instance, WXDomObject dom, WXVContainer parent, String instanceId, boolean isLazy);  WXListComponent(WXSDKInstance instance, WXDomObject node, WXVContainer parent, boolean lazy); @Override void addChild(WXComponent child, int index); @Override void createChildViewAt(int index); void remove(WXComponent child, boolean destroy); }
WXListComponent extends BasicListComponent<BounceRecyclerView> { @Override public void addChild(WXComponent child, int index) { super.addChild(child, index); if (child == null || index < -1) { return; } setRefreshOrLoading(child); } @Deprecated  WXListComponent(WXSDKInstance instance, WXDomObject dom, WXVContainer parent, String instanceId, boolean isLazy);  WXListComponent(WXSDKInstance instance, WXDomObject node, WXVContainer parent, boolean lazy); @Override void addChild(WXComponent child, int index); @Override void createChildViewAt(int index); void remove(WXComponent child, boolean destroy);  }