Uninstalling native FabricUIManager when reloading RN screen

Summary: This diff makes sure the native side of the UILayer of RN is deallocated when the a RN screen is reloaded.

Reviewed By: shergin

Differential Revision: D10343030

fbshipit-source-id: 7add841b8875d28fe527f20b96f799733769b11a
This commit is contained in:
David Vacca
2018-10-12 18:36:44 -07:00
committed by Facebook Github Bot
parent 9817f85def
commit ca3a6e8f13

View File

@@ -11,7 +11,8 @@ import com.facebook.react.bridge.JavaScriptContextHolder;
public interface FabricBinding {
// TODO: T31905686 change types of UIManager and EventBeatManager when moving to OSS
void installFabric(
void register(
JavaScriptContextHolder jsContext, FabricBinder fabricBinder, Object eventBeatManager);
void unregister();
}