Interface UITraitEnvironment

    • Method Detail

      • traitCollection

        @NotNull
        @NotNull UITraitCollection traitCollection()
        API-Since: 8.0
      • traitCollectionDidChange

        @Deprecated
        void traitCollectionDidChange​(@Nullable
                                      @Nullable UITraitCollection previousTraitCollection)
        Deprecated.
        To be overridden as needed to provide custom behavior when the environment's traits change. API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Use the trait change registration APIs declared in the UITraitChangeObservable protocol