Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

1.添加简单小窗口跟随手指移动 #2190

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

whosmyqueen
Copy link

1.添加简单小窗口跟随手指移动

@lipangit
Copy link
Owner

lipangit commented Nov 20, 2018

兄弟,我觉得你对小窗拖拽的理解比较深,代码非常简洁,非常good,亲测好用。

@lipangit
Copy link
Owner

lipangit commented Nov 20, 2018

还需要再改改。

1.把拖动的代码放到继承JzvdStd中修改,因为你的这个应该是个通用的例子,可以更多的拓展。
2.当前只是一个最简单的demo形式的东西,只表明了做这个功能的思路,没有符合产品的逻辑,让它更产品化一下。

第二点我可能没说明白,兄弟可以先把第一点实现。

@whosmyqueen
Copy link
Author

@lipangit
1.你是说放到Jzvd这个类里面实现是吧
2.我有往产品思路去考虑,我有时间把小窗口自动贴边加上

@lipangit
Copy link
Owner

lipangit commented Nov 21, 2018

1.不是jzvd,是放到继承jzvdStd的类中,新建一个类,把ActivityTinyWindow这个界面的那个例子换成可拖动的小窗。
2.是这个意思

@lipangit
Copy link
Owner

任何点疑问随时QQ沟通

@liweiGe
Copy link

liweiGe commented Dec 8, 2018

我也刚在搞小窗口拖动的问题,但是列表一划就又回到原来位置了,有解决办法没

@lipangit
Copy link
Owner

lipangit commented Dec 8, 2018

@liweiGe 你做了什么修改

@liweiGe
Copy link

liweiGe commented Dec 8, 2018

跟他思路一样,一开始是想着放window上播放,但是要处理返回和悬浮窗的的权限问题,太麻烦,改动太大了,后面也是跟这哥们一样的实现,另外加了些小窗口的双击暂停播放,和拖动悬浮窗还得减去状态栏高度等一些小细节问题,目前还有小窗口播放完要在小窗口可以继续重播的实现,看了jiaozi现在的实现都是重新添加播放控件的形式实现的

@liweiGe
Copy link

liweiGe commented Dec 8, 2018

而且小窗口以重新构造创建新的播放器的形式会卡顿一下,总觉得不够优雅,最好都是像列表跳详情无缝播放的实现一样最好,我看了皮皮虾的视频播放是真的旋律,各种骚,模仿能力有限啊😂😂

@lipangit
Copy link
Owner

lipangit commented Dec 9, 2018

咱们这个小窗不需要悬浮窗权限

@lipangit
Copy link
Owner

你好,咱们项目推出数字通证饺子token,https://github.com/lipangit/JZT, 给所有提交过pr的朋友30000个JZT,表示对你过去对项目支持的感谢。
请下载币威钱包https://www.bitcv.app/,把里面的以太坊地址给我,币威的地址站内转账不需要手续费。这东西值不值钱不重要,玩的是信仰。
Hello, let's launch the JiaoZiToken, https://github.com/lipangit/JZT, and give all the friends who submitted pr 30,000 JZT, thank you for your support of the project.
Please download the coin wallet https://www.bitcv.app/ and give me the address of the Ethereum. There is no charge for transferring money at the address station. It is not important that the value of this thing is worthless. It is faith.

@whosmyqueen
Copy link
Author

@lipangit 是这个吗0x94cc85b5e8122d1b01a8b2a99bbf2e482080df65

@lipangit
Copy link
Owner

查收

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

Successfully merging this pull request may close these issues.

None yet

3 participants