revert old HVScrollView
This commit is contained in:
parent
5e166de77b
commit
3855227e74
@ -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.HVScrollView;
|
import pub.doric.widget.NewHVScrollView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: pub.doric.shader
|
* @Description: pub.doric.shader
|
||||||
@ -29,7 +29,7 @@ import pub.doric.widget.HVScrollView;
|
|||||||
* @CreateDate: 2019-11-18
|
* @CreateDate: 2019-11-18
|
||||||
*/
|
*/
|
||||||
@DoricPlugin(name = "Scroller")
|
@DoricPlugin(name = "Scroller")
|
||||||
public class ScrollerNode extends SuperNode<HVScrollView> {
|
public class ScrollerNode extends SuperNode<NewHVScrollView> {
|
||||||
private String mChildViewId;
|
private String mChildViewId;
|
||||||
private ViewNode mChildNode;
|
private ViewNode mChildNode;
|
||||||
|
|
||||||
@ -50,12 +50,12 @@ public class ScrollerNode extends SuperNode<HVScrollView> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected HVScrollView build() {
|
protected NewHVScrollView build() {
|
||||||
return new HVScrollView(getContext());
|
return new NewHVScrollView(getContext());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void blend(HVScrollView view, String name, JSValue prop) {
|
protected void blend(NewHVScrollView 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