Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现方案不实用 #1

Open
alvince opened this issue Nov 26, 2018 · 0 comments
Open

实现方案不实用 #1

alvince opened this issue Nov 26, 2018 · 0 comments

Comments

@alvince
Copy link

alvince commented Nov 26, 2018

粗略的瞅了眼,如果是作为通用库的话不实用,侵入性太高

我的想法应该是 touch 并移动布局中的 ImageView 目标的时候,动态在布局中添加一个视图,然后通过 canvas 把原视图内容拷贝进去,并且隐藏拖动目标
拖动的轨迹完全可以通过 canvas 绘制,不需要用 item 包装 ImageView 这种高消耗的方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant