DraggableAnchors
Source set: Common
public fun <T : Any> DraggableAnchors(
builder: DraggableAnchorsConfig<T>.() -> Unit
): DraggableAnchors<T>
Create a new DraggableAnchors instance using a builder function.
Parameters
| builder | A function with a DraggableAnchorsConfig that offers APIs to configure anchors |
Return
A new DraggableAnchors instance with the anchor positions set by the builder function.