mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 22:50:21 +08:00
Use new hybrid inheritance for NativeArray and descendants
Differential Revision: D2516708 fb-gh-sync-id: 75bc2d7095ffe2c397d5ffb34b621b322b858c3e
This commit is contained in:
committed by
facebook-github-bot-6
parent
8251f1c905
commit
fb90ba6ded
@@ -9,6 +9,7 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import com.facebook.jni.HybridData;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
import com.facebook.soloader.SoLoader;
|
||||
|
||||
@@ -23,6 +24,10 @@ public class ReadableNativeArray extends NativeArray implements ReadableArray {
|
||||
SoLoader.loadLibrary(ReactBridge.REACT_NATIVE_LIB);
|
||||
}
|
||||
|
||||
protected ReadableNativeArray(HybridData hybridData) {
|
||||
super(hybridData);
|
||||
}
|
||||
|
||||
@Override
|
||||
public native int size();
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user