Package 

Class WindowDpSizeKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static WindowDpSize rememberWindowDpSize(Activity $self) Copyright 2022 Google LLC.
      final static WindowDpSize rememberWindowDpSize(Fragment $self) Remembers the WindowSize class for the window corresponding to the current window metrics.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • rememberWindowDpSize

        @Composable() final static WindowDpSize rememberWindowDpSize(Activity $self)

        Copyright 2022 Google LLC. SPDX-License-Identifier: Apache-2.0

        Remembers the WindowSize class for the window corresponding to the current window metrics.

        Referenceshttps://github.com/android/compose-samples/blob/d38047520c00d5eed71eb731b1fa5ecd99f59a32/JetNews/app/src/main/java/com/example/jetnews/utils/WindowSize.kt)

      • rememberWindowDpSize

        @Composable() final static WindowDpSize rememberWindowDpSize(Fragment $self)

        Remembers the WindowSize class for the window corresponding to the current window metrics.

        Referenceshttps://github.com/android/compose-samples/blob/d38047520c00d5eed71eb731b1fa5ecd99f59a32/JetNews/app/src/main/java/com/example/jetnews/utils/WindowSize.kt)