랭킹으로 돌아가기

xmuSistone/DragRankSquare

Java

edit personal information which enables users to drag and rank image order

dragimage-ranktantanviewgroupgrid
스타 성장
스타
1.1k
포크
188
주간 성장
이슈
2
5001k
2023년 4월2024년 5월2025년 6월2026년 7월
아티팩트Mavengit clone https://github.com/xmuSistone/DragRankSquare.git
README

android-drag-square

edit personal data which enables users to drag and rank image order

编辑个人资料,图片可拖拽排序。有点像可拖拽的gridView,但是会更流畅。这个demo是探探的个人资料编辑页面,受网上一位朋友的委托,该库模仿了其拖动效果。

探探的安卓工程师,应该特别牛逼吧。因为最初时,这种拖拽效果真的无从下手。反编译探探的源代码,发现它做了很严肃的混淆处理。然后用Hierarchy Viewer看了View的层级,这才有了一点点的思路。

在代码撰写的过程中,我也踩了不少坑。细看代码深处,或许你会有一丝丝的收获吧。

当然,在最初的最初,我搜了不少的draggable gridview的仓库,可惜用起来的时候发现不够流畅、不够灵活。

截图

PREVIEW PREVIEW

Apk下载

apk download (就在该工程之中)

관련 저장소
atlassian/react-beautiful-dnd

Beautiful and accessible drag and drop for lists with React

JavaScriptnpmOtherreactdrag-and-drop
react-beautiful-dnd.netlify.app
34k2.7k
SortableJS/Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.

JavaScriptnpmMIT Licensedragsortable
sortablejs.github.io/Sortable/
31.2k3.7k
clauderic/dnd-kit

The modern toolkit for building drag and drop interfaces

TypeScriptnpmMIT Licensereactdraggable
dndkit.com
17.4k911
pmndrs/use-gesture

👇Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.

TypeScriptnpmMIT Licensegestureshooks
use-gesture.netlify.app
9.6k336
projectstorm/react-diagrams

a super simple, no-nonsense diagramming library written in react that just works

TypeScriptnpmMIT Licensereactdemo
projectstorm.cloud/react-diagrams
9.4k1.2k
SwipeCellKit/SwipeCellKit

Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift.

SwiftOtherswiftuikit
jerkoch.com/2017/02/07/swiper-no-swiping.html
6.3k815
Splidejs/splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.

TypeScriptnpmMIT Licenseslidercarousel
splidejs.com
5.4k446
bokuweb/react-rnd

🖱 A resizable and draggable component for React.

TypeScriptnpmMIT Licensereactdrag
bokuweb.github.io/react-rnd/stories
4.3k331
Alfred-Skyblue/vue-draggable-plus

Universal Drag-and-Drop Component Supporting both Vue 3 and Vue 2

VueMIT Licensecomposition-apidraggable
vue-draggable-plus.pages.dev/en/
4k179
hello-pangea/dnd

💅 Beautiful and accessible drag and drop for lists with React. ⭐️ Star to support our work!

TypeScriptnpmOtherreactdrag-and-drop
dnd.hellopangea.com
4k131
Yalantis/Persei

Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift

SwiftMIT Licenseiosswift
yalantis.com
3.4k309
lian-yue/vue-upload-component

Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter

VueApache License 2.0uploadscomponent
2.7k678