Package 

Class ComposeExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit disposeComposition(Activity $self) Helper method to forcibly dispose of the underlying composition in the Activity.
      • Methods inherited from class java.lang.Object

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

      • disposeComposition

         final static Unit disposeComposition(Activity $self)

        Helper method to forcibly dispose of the underlying composition in the Activity. This helps in ensuring that the resources associated with the composition are reclaimed in a timely manner. This is important when running many Compose-based screenshot tests in rapid succession.