remove old h&v scrollview

This commit is contained in:
王劲鹏 2020-01-14 19:11:37 +08:00 committed by osborn
parent 713947e721
commit 6664d8d988
3 changed files with 623 additions and 2882 deletions

View File

@ -21,7 +21,7 @@ import com.github.pengfeizhou.jscore.JSValue;
import pub.doric.DoricContext;
import pub.doric.extension.bridge.DoricPlugin;
import pub.doric.widget.HVScrollView2;
import pub.doric.widget.HVScrollView;
/**
* @Description: pub.doric.shader
@ -29,7 +29,7 @@ import pub.doric.widget.HVScrollView2;
* @CreateDate: 2019-11-18
*/
@DoricPlugin(name = "Scroller")
public class ScrollerNode extends SuperNode<HVScrollView2> {
public class ScrollerNode extends SuperNode<HVScrollView> {
private String mChildViewId;
private ViewNode mChildNode;
@ -50,12 +50,12 @@ public class ScrollerNode extends SuperNode<HVScrollView2> {
}
@Override
protected HVScrollView2 build() {
return new HVScrollView2(getContext());
protected HVScrollView build() {
return new HVScrollView(getContext());
}
@Override
protected void blend(HVScrollView2 view, String name, JSValue prop) {
protected void blend(HVScrollView view, String name, JSValue prop) {
if ("content".equals(name)) {
mChildViewId = prop.asString().value();
} else {