• Stars
    star
    1,118
  • Rank 41,559 (Top 0.9 %)
  • Language
    Java
  • Created over 8 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 (就在该工程之中)

More Repositories

1

ViewpagerTransition

viewpager with parallax pages, together with vertical sliding (or click) and activity transition
Java
3,039
star
2

CardSlidePanel

enable users to slide card to the left or right smoothly and continuously
Java
2,385
star
3

AndroidPileLayout

An abnormal horizontal ListView-like pile layout with stretch and contraction effects.
Java
2,157
star
4

VegaLayoutManager

√A customized LayoutManager - fade and shrink the head itemView when scrolling.
Java
1,859
star
5

VerticalSlideFragment

vertical slide to switch to the next fragment page, looks like vertical viewpager
Java
1,606
star
6

AnimRichEditor

rich text editor which enables users to insert/delete bitmaps and text into edit-view with animations.
Java
976
star
7

android-snake-menu

imitate Tumblr's menu, dragging animations look like a snake
Java
584
star
8

stickyViewpager

[deprecated] sticky view in viewpager which includes scrollview and listview - viewpager with headers
Java
313
star
9

PersistentRecyclerView

京东首页 - 长列表内嵌ViewPager商品流(RecyclerView方案)
Kotlin
308
star
10

PersistentCoordinatorLayout

京东首页 - 长列表内嵌ViewPager商品流(CoordinatorLayout方案)
Kotlin
212
star
11

android-character-animation

in textview, characters come along one by one with random alpha animation
Java
59
star
12

android-slide-to-unlock

imitate ios, slide to unlock, text color gradient animation
Java
47
star
13

AutoWrapLayout

a customized viewgroup wraps textviews and aligns on both left and right sides.
Java
46
star
14

boringArticles

just some articles
19
star
15

MailExtension

chrome插件 - 工资条助手
JavaScript
14
star