🎉 Released a new version 1.0.1
! 🎉
What's Changed
- Updated Jetpack WindowManager to 1.0.0 stable by @skydoves in #3
- Added hinge relevant extensions by @skydoves in #2
🛠 Implementation details
- Added
LocalWindowLayoutInfo
- Added
WindowOrientation
enum class andwindowOrientation
extension.
FoldingFeature
- FoldingFeature.hingeWidthPxSize: Int
- FoldingFeature.hingeHeightPxSize: Int
- FoldingFeature.hingePxSize: Int
- FoldingFeature.hingeWidthDpSize: Int
- FoldingFeature.hingeHeightDpSize: Int
- FoldingFeature.hingeDpSize: Int
FoldingFeature for Jetpack Compose
- FoldingFeature.hingeWidthDp: Dp
- FoldingFeature.hingeHeightDp: Dp
- FoldingFeature.hingeDp: Dp
WindowLayoutInfo
- WindowLayoutInfo.isSeparating: Boolean
- WindowLayoutInfo.occlusionType: FoldingFeature.OcclusionType
- WindowLayoutInfo.orientation: FoldingFeature.Orientation
- WindowLayoutInfo.state: FoldingFeature.State