Package 

Class FrescoFlipperPlugin

  • All Implemented Interfaces:
    com.facebook.drawee.backends.pipeline.info.ImagePerfDataListener , com.facebook.flipper.core.FlipperPlugin , com.facebook.imagepipeline.debug.CloseableReferenceLeakTracker.Listener

    
    public class FrescoFlipperPlugin
    extends BufferingFlipperPlugin implements ImagePerfDataListener, CloseableReferenceLeakTracker.Listener
                        

    Allows Sonar to display the contents of Fresco's caches. This is useful for developers to debug what images are being held in cache as they navigate through their app.

    • Method Summary

      Modifier and Type Method Description
      FlipperImageTracker getFlipperImageTracker()
      String getId()
      void onConnect(FlipperConnection connection)
      void onImageLoadStatusUpdated(ImagePerfData imagePerfData, int imageLoadStatus)
      void onImageVisibilityUpdated(ImagePerfData imagePerfData, int visibilityState)
      void sendDebugOverlayEnabledEvent(boolean enabled)
      void onCloseableReferenceLeak(SharedReference<Object> reference, @Nullable() Throwable stacktrace)
      static String getStackTraceString(Throwable tr)
      • Methods inherited from class com.facebook.flipper.plugins.common.BufferingFlipperPlugin

        getConnection, isConnected, onConnect, onDisconnect, removeConnectionListener, runInBackground, send, setConnectionListener
      • Methods inherited from class com.facebook.flipper.core.FlipperPlugin

        getId
      • Methods inherited from class com.facebook.drawee.backends.pipeline.info.ImagePerfDataListener

        onImageLoadStatusUpdated, onImageVisibilityUpdated
      • Methods inherited from class com.facebook.imagepipeline.debug.CloseableReferenceLeakTracker.Listener

        onCloseableReferenceLeak
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait