Remove ViewPooling from Fabric Android

Summary:
View Pooling is not currently being used in Fabric Android, this diff removes all the extra abstractions that are being used becuase of the unused ViewPooling.
We might add this in the future when we re-implement view correctly.

Reviewed By: JoshuaGross

Differential Revision: D16543439

fbshipit-source-id: f41b6e02fddc36c7ef7a1052399d2e6b2041fcfb
This commit is contained in:
David Vacca authored and Facebook Github Bot committed 2019-07-31 23:30:55 -07:00
1 parent 0e8d571298
commit 1054930d45
6 files changed
+2 -213

No files matched your search

@@ -9,12 +9,8 @@ import com.facebook.react.bridge.queue.MessageQueueThread;
import com.facebook.react.fabric.events.EventBeatManager;
import com.facebook.react.fabric.events.EventEmitterWrapper;
import com.facebook.react.fabric.events.FabricEventEmitter;
import com.facebook.react.fabric.mounting.ContextBasedViewPool;
import com.facebook.react.fabric.mounting.LayoutMetricsConversions;
import com.facebook.react.fabric.mounting.MountingManager;
import com.facebook.react.fabric.mounting.ViewFactory;
import com.facebook.react.fabric.mounting.ViewManagerFactory;
import com.facebook.react.fabric.mounting.ViewPool;
import com.facebook.react.fabric.mounting.mountitems.BatchMountItem;
import com.facebook.react.fabric.mounting.mountitems.DeleteMountItem;
import com.facebook.react.fabric.mounting.mountitems.DispatchCommandMountItem;
@@ -98,9 +94,7 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
BatchEventDispatchedListener.class.getClass();
ReactNativeConfig.class.getClass();
FabricComponents.class.getClass();
ViewManagerFactory.class.getClass();
StateWrapper.class.getClass();
ViewFactory.class.getClass();
FabricEventEmitter.class.getClass();
FabricUIManager.class.getClass();
GuardedFrameCallback.class.getClass();
@@ -115,10 +109,8 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
UpdateLayoutMountItem.class.getClass();
UpdateLocalDataMountItem.class.getClass();
UpdatePropsMountItem.class.getClass();
ContextBasedViewPool.class.getClass();
LayoutMetricsConversions.class.getClass();
MountingManager.class.getClass();
ViewPool.class.getClass();
Binding.class.getClass();
ComponentFactoryDelegate.class.getClass();
EventBeatManager.class.getClass();