mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 22:41:28 +08:00
Merge Android UI Performance into Performance doc, reorder sidebar
Summary: Doing some cleanup in preparation for CRNA. Recommend `FlatList` and React Navigation for perf. Tag docs that may only apply to apps ejected from CRNA. Currently has no effect. Closes https://github.com/facebook/react-native/pull/12692 Differential Revision: D4654077 Pulled By: hramos fbshipit-source-id: 1245d80d66e37d9dca9e9daf23e8b93c65cd1bf7
This commit is contained in:
committed by
Facebook Github Bot
parent
c77f09b174
commit
c503dae446
@@ -4,6 +4,7 @@ title: Native Modules
|
||||
layout: docs
|
||||
category: Guides (Android)
|
||||
permalink: docs/native-modules-android.html
|
||||
banner: ejected
|
||||
next: native-components-android
|
||||
previous: communication-ios
|
||||
---
|
||||
@@ -131,7 +132,7 @@ public class AnExampleReactPackage implements ReactPackage {
|
||||
|
||||
return modules;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
@@ -369,9 +370,9 @@ public class ImagePickerModule extends ReactContextBaseJavaModule {
|
||||
private static final String E_NO_IMAGE_DATA_FOUND = "E_NO_IMAGE_DATA_FOUND";
|
||||
|
||||
private Promise mPickerPromise;
|
||||
|
||||
|
||||
private final ActivityEventListener mActivityEventListener = new BaseActivityEventListener() {
|
||||
|
||||
|
||||
@Override
|
||||
public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent intent) {
|
||||
if (requestCode == IMAGE_PICKER_REQUEST) {
|
||||
|
||||
Reference in New Issue
Block a user