@@ -72,31 +72,31 @@ public void destroy() {
72
72
73
73
public void sendComponentWillStart (ComponentType type ) {
74
74
this .post (()->{
75
- ReactContext currentReactContext = getReactContent ();
75
+ ReactContext currentReactContext = getReactContext ();
76
76
if (currentReactContext != null )
77
77
new EventEmitter (currentReactContext ).emitComponentWillAppear (componentId , componentName , type );
78
78
});
79
79
}
80
80
81
81
public void sendComponentStart (ComponentType type ) {
82
82
this .post (()->{
83
- ReactContext currentReactContext = getReactContent ();
83
+ ReactContext currentReactContext = getReactContext ();
84
84
if (currentReactContext != null ) {
85
85
new EventEmitter (currentReactContext ).emitComponentDidAppear (componentId , componentName , type );
86
86
}
87
87
});
88
88
}
89
89
90
90
public void sendComponentStop (ComponentType type ) {
91
- ReactContext currentReactContext = getReactContent ();
91
+ ReactContext currentReactContext = getReactContext ();
92
92
if (currentReactContext != null ) {
93
93
new EventEmitter (currentReactContext ).emitComponentDidDisappear (componentId , componentName , type );
94
94
}
95
95
}
96
96
97
97
@ Override
98
98
public void sendOnNavigationButtonPressed (String buttonId ) {
99
- ReactContext currentReactContext = getReactContent ();
99
+ ReactContext currentReactContext = getReactContext ();
100
100
if (currentReactContext != null ) {
101
101
new EventEmitter (currentReactContext ).emitOnNavigationButtonPressed (componentId , buttonId );
102
102
}
@@ -121,7 +121,7 @@ public boolean isRendered() {
121
121
}
122
122
123
123
public EventDispatcher getEventDispatcher () {
124
- ReactContext reactContext = getReactContent ();
124
+ ReactContext reactContext = getReactContext ();
125
125
return reactContext == null ? null : UIManagerHelper .getEventDispatcher (reactContext , UIManagerType .FABRIC );
126
126
}
127
127
0 commit comments