Package 

Class DragAndDropListKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Unit DragAndDropList(Modifier modifier, List<T> items, PaddingValues contentPadding, Arrangement.Vertical verticalArrangement, Function1<List<T>, Unit> onDragEnd, Function2<T, Boolean, Unit> itemContent)
      • Methods inherited from class java.lang.Object

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

      • DragAndDropList

        @Composable() final static <T extends Any> Unit DragAndDropList(Modifier modifier, List<T> items, PaddingValues contentPadding, Arrangement.Vertical verticalArrangement, Function1<List<T>, Unit> onDragEnd, Function2<T, Boolean, Unit> itemContent)
        Parameters:
        modifier - the modifier to apply to the lazy column.
        items - items to display in a list.
        contentPadding - a padding around the whole lazy column content.
        verticalArrangement - the vertical arrangement of the lazy column items.
        onDragEnd - will be called when the user completes the drag gesture.
        itemContent - a block which describes the item content.