created a new class YogaNodeJNI which extends YogaNodeJNIBase and using YogaNodeJNi for new object creation
Summary: Added a child class of YogaNodeJNIBase which will be used to separate layout outputs transfer logic. This change set is for adding experiment for layout outputs batching using a float array Reviewed By: davidaurelio Differential Revision: D14368098 fbshipit-source-id: e0f10fb61cd09ee47cf9ce41fb400f4cfb3dd795
This commit is contained in:
committed by
Facebook Github Bot
parent
1471be54e3
commit
f273e80c77
@@ -10,11 +10,11 @@ import javax.annotation.Nullable;
|
||||
|
||||
public abstract class YogaNode {
|
||||
public static YogaNode create() {
|
||||
return new YogaNodeJNIBase();
|
||||
return new YogaNodeJNI();
|
||||
}
|
||||
|
||||
public static YogaNode create(YogaConfig config) {
|
||||
return new YogaNodeJNIBase(config);
|
||||
return new YogaNodeJNI(config);
|
||||
}
|
||||
|
||||
public abstract void reset();
|
||||
|
Reference in New Issue
Block a user