Drag-Sort Demos

    Drag-Sort Demos icon

    Drag-Sort Demos

    by: 226 9.6

    9.6 Users



    This is a demo app for the DragSortListView library. The project is hosted on GitHub with repo name: drag-sort-listview.

    DragSortListView is an extension of Android's ListView widget that mediates drag-and-drop reordering of list items. Its primary purpose is to provide an empty "drop slot" that tracks the dragged item, effectively reordering the list on-the-fly. DragSortListView also handles the tricky task of scrolling while dragging items over a long list. Animated transitions give the process a seamless and intuitive feel.

    Several convenience features accompany the basic functionality described above. The most common drag initiation and item removal techniques have been implemented for you and are accessed through simple XML attributes:

    • Drag initiation: on touch, on drag, on long-press

    • Item removal: on click, on fling, on slide

    The first demo, "Basic usage playground," exposes the basic features of the library through the menu. You can dynamically change drag initiation and item removal methods and add headers/footers to the list. The rest of the demos address more advanced usage.

    As you know, issues with the library that are voiced in the comments will go unnoticed and left to wither. Please open an issue ticket on the GitHub project page, or email me directly. Thanks and happy dragging!

    Tags: drag and drop in listview , how to sort listview items dragged in , drag sort , drag sort listview , listview drag drop and swipe to delete in , listview drag items , drag sort demo , drag and sort listview in , swipelistview

    Users review

    from 226 reviews



    Users comments for Drag-Sort Demos

    Rogério Silva

    by Rogério Silva

    Sep 20, 2014  |  "Awesome"

    Modern ui

    Amar Jit

    by Amar Jit

    Aug 13, 2014  |  "Awesome"

    Simply love this library. God bless the developer. Awsm work. This library help me a lot.. Fully impressed..

    Betty Raginis

    by Betty Raginis

    Feb 06, 2014  |  "Awesome"

    mix rock mix RocknRolla and country

    Pete Cornish

    by Pete Cornish

    Dec 31, 2013  |  "Awesome"

    Buttery smooth :)

    Naveed Ali

    by Naveed Ali

    Nov 20, 2013  |  "Awesome"


    Yisroel Forta

    by Yisroel Forta

    Jun 30, 2013  |  "Awesome"

    Just implemented in my app, truly great. Thanks.