[
https://issues.apache.org/jira/browse/WEEX-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042497#comment-16042497
]
ASF GitHub Bot commented on WEEX-37:
------------------------------------
GitHub user Rowandjj reopened a pull request:
https://github.com/apache/incubator-weex/pull/416
[android] list support drag-drop feature
> use RecyclerView's ItemTouchHelper to implement drag-drop feature.
#### feature:
1. support both pan and longPress gesture to trigger drag-drop;
2. support liner/grid layout;
3. support dragStart/dragEnd event;
4. support excluded some cells when dragging;
#### extend attrs:
##### list:
- draggable: whether draggable or not;
- drag-trigger-type: which gesture type will trigger drag-drop;
##### cell:
- drag-excluded: whether we should ignore current cell for dragging;
##### any component:
- drag-anchor: the anchor that will trigger drag-drop
JIRA: https://issues.apache.org/jira/browse/WEEX-37
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Rowandjj/incubator-weex feature-drag-list
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/416.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #416
----
commit 3e33dca7825e6e1f63f045c555893e64d563b6ec
Author: Rowandjj <[email protected]>
Date: 2017-06-05T02:17:45Z
+ [android] prepare drag-drop helper
commit dde48f58e4b560ac34ae1f87e561b1201c1dd35f
Author: Rowandjj <[email protected]>
Date: 2017-06-05T02:44:21Z
* [android] attach drag-drop feature to list
commit 284ead35012147f9e9b4d4e0353a7b0c62f41275
Author: Rowandjj <[email protected]>
Date: 2017-06-05T03:16:51Z
* [android] disable drag by default
commit ed6efa753cdb1cc2a12ec2b367b57d74fe1b7e68
Author: Rowandjj <[email protected]>
Date: 2017-06-05T12:49:36Z
* [android] fix typo and license header
commit 7de245de94cf8b861d6b3b137a191fef16edae66
Author: Rowandjj <[email protected]>
Date: 2017-06-08T02:55:59Z
* [android] catch ui test problem
commit f6f295b4b6587a389d23dd6ebce4679136bd96e2
Author: Rowandjj <[email protected]>
Date: 2017-06-08T07:04:07Z
* [android] migrate drag feature into BasicListComponent
commit 9fed9bbcc4002a509cce0317b2a75fe0911e2b30
Author: Rowandjj <[email protected]>
Date: 2017-06-08T08:13:15Z
+ [android] add ut case
commit 90b40e60fa0b01de460d2a5bfd8757498ad0be2d
Author: Rowandjj <[email protected]>
Date: 2017-06-08T08:33:34Z
* [android] add missing license header
commit 8060293f1efa7521da8a6d218ee27fab797e58ef
Author: Rowandjj <[email protected]>
Date: 2017-06-08T09:45:48Z
* [android] rm unused note
----
> list support drag-drop
> ----------------------
>
> Key: WEEX-37
> URL: https://issues.apache.org/jira/browse/WEEX-37
> Project: Weex
> Issue Type: New Feature
> Environment: android/iOS
> Reporter: chuyi
> Labels: features
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> implement drag-drop feature for list
> feature:
> 1. support both pan and longPress gesture to trigger drag-drop;
> 2. support liner/grid layout;
> 3. support dragStart/dragEnd event;
> 4. support excluded some cells when dragging;
> extend attrs:
> list:
> - draggable: whether draggable or not;
> - drag-trigger-type: which gesture type will trigger drag-drop;
> cell:
> - drag-excluded: whether we should ignore current cell for dragging;
> any component:
> - drag-anchor: the anchor that will trigger drag-drop
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)