Drag-Sort Demos

Carl Bauer
2015年09月27日
  • 220.7 KB

    文件大小

  • Android 2.1+

    Android OS

关于Drag-Sort Demos

来 Google Play 网购吧!购买内容之后,立刻就可以在您的 Android 手机或平板电脑上享用,摆脱一切同步烦恼。

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!

更多收起

最新版本0.5.0的更新日志

Last updated on 2015年09月27日
0.5.0:
- Support for checkable list items.

0.4.1:
- Bugfix to address Play Store crash report.

0.4.0:
- Remove and drop animations.

Drag-Sort Demos历史版本

在APKPure上极速安全下载应用

一键安装安卓XAPK/APK文件!

下载 APKPure