remove old h&v scrollview
This commit is contained in:
parent
713947e721
commit
6664d8d988
@ -21,7 +21,7 @@ import com.github.pengfeizhou.jscore.JSValue;
|
|||||||
|
|
||||||
import pub.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import pub.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import pub.doric.widget.HVScrollView2;
|
import pub.doric.widget.HVScrollView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: pub.doric.shader
|
* @Description: pub.doric.shader
|
||||||
@ -29,7 +29,7 @@ import pub.doric.widget.HVScrollView2;
|
|||||||
* @CreateDate: 2019-11-18
|
* @CreateDate: 2019-11-18
|
||||||
*/
|
*/
|
||||||
@DoricPlugin(name = "Scroller")
|
@DoricPlugin(name = "Scroller")
|
||||||
public class ScrollerNode extends SuperNode<HVScrollView2> {
|
public class ScrollerNode extends SuperNode<HVScrollView> {
|
||||||
private String mChildViewId;
|
private String mChildViewId;
|
||||||
private ViewNode mChildNode;
|
private ViewNode mChildNode;
|
||||||
|
|
||||||
@ -50,12 +50,12 @@ public class ScrollerNode extends SuperNode<HVScrollView2> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected HVScrollView2 build() {
|
protected HVScrollView build() {
|
||||||
return new HVScrollView2(getContext());
|
return new HVScrollView(getContext());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void blend(HVScrollView2 view, String name, JSValue prop) {
|
protected void blend(HVScrollView view, String name, JSValue prop) {
|
||||||
if ("content".equals(name)) {
|
if ("content".equals(name)) {
|
||||||
mChildViewId = prop.asString().value();
|
mChildViewId = prop.asString().value();
|
||||||
} else {
|
} else {
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user