//Android/br.com.arch.toolkit.android.foldable.extension/getFoldPosition
[android]
fun ERROR CLASS: Symbol not found for View.getFoldPosition(foldingFeature: FoldingFeature, orientation: FoldingFeature.Orientation): ERROR CLASS: Cannot infer argument for type parameter K
Calculates the fold position relative to the view’s dimensions.
The position of the fold (distance from the end/bottom edge), or 0 if it doesn’t intersect the view.
android
| Â | Â |
|---|---|
| foldingFeature | Information about the device’s fold. |
| orientation | The orientation of the fold (FoldingFeature.Orientation). |