mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
This is supposed to say LifecycleEventListener
Reviewed By: svcscm Differential Revision: D2931715 fb-gh-sync-id: 450c4fc13a87eaba39d06835aa851d7256da7125 shipit-source-id: 450c4fc13a87eaba39d06835aa851d7256da7125
This commit is contained in:
parent
3e72211cab
commit
8f363a3f5f
@ -401,7 +401,7 @@ public class ImagePickerModule extends ReactContextBaseJavaModule implements Act
|
||||
|
||||
### Listening to LifeCycle events
|
||||
|
||||
Listening to the activity's LifeCycle events such as `onResume`, `onPause` etc. is very similar to how we implemented `ActivityEventListener`. The module must implement `ActivityEventListener`. Then, you need to register a listener in the module's constructor,
|
||||
Listening to the activity's LifeCycle events such as `onResume`, `onPause` etc. is very similar to how we implemented `ActivityEventListener`. The module must implement `LifecycleEventListener`. Then, you need to register a listener in the module's constructor,
|
||||
|
||||
```java
|
||||
reactContext.addLifecycleEventListener(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user