mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-08 22:42:05 +08:00
Add jni bindings
Summary: Add jni bindings for csslayout. First step in many of removing LayoutEngine.java and performing all layout in native. Reviewed By: lucasr Differential Revision: D3648793
This commit is contained in:
committed by
Ahmed El-Helw
parent
0c9afec7dc
commit
ca79e6cf30
@@ -14,6 +14,7 @@ import javax.annotation.Nullable;
|
||||
import android.graphics.Rect;
|
||||
|
||||
import com.facebook.csslayout.CSSNode;
|
||||
import com.facebook.csslayout.CSSNodeAPI;
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.uimanager.LayoutShadowNode;
|
||||
import com.facebook.react.uimanager.OnLayoutEvent;
|
||||
@@ -227,7 +228,7 @@ import com.facebook.react.views.view.ReactClippingViewGroupHelper;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void markUpdated() {
|
||||
public void markUpdated() {
|
||||
super.markUpdated();
|
||||
mIsUpdated = true;
|
||||
invalidate();
|
||||
|
||||
Reference in New Issue
Block a user