Package 

Class DefaultDrawableCopier

  • All Implemented Interfaces:
    com.datadog.android.sessionreplay.recorder.resources.DrawableCopier

    
    public final class DefaultDrawableCopier
     implements DrawableCopier
                        

    Default implementation of DrawableCopier interface, it copies the drawable from constant state.

    • Method Summary

      Modifier and Type Method Description
      Drawable copy(Drawable originalDrawable, Resources resources) Called to copy the drawable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDrawableCopier

        DefaultDrawableCopier()
    • Method Detail

      • copy

         Drawable copy(Drawable originalDrawable, Resources resources)

        Called to copy the drawable.

        Parameters:
        originalDrawable - the original drawable to copy
        resources - resources of the view.