diff --git a/README.md b/README.md index 575dec0..c510e3b 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,10 @@ |状态回调|View修改|拓展使用| |:---:|:---:|:---:| -|![](https://github.com/princekin-f/EasyFloat/blob/master/readme/%E6%B5%AE%E7%AA%97Callbacks.gif)|![](https://github.com/princekin-f/EasyFloat/blob/master/readme/%E6%96%B9%E4%BE%BF%E7%9A%84view%E4%BF%AE%E6%94%B9.gif)|![](https://github.com/princekin-f/EasyFloat/blob/master/readme/dialog%E5%92%8Cxml%E4%BD%BF%E7%94%A8.gif)| +|![](https://github.com/princekin-f/EasyFloat/blob/master/readme/%E6%B5%AE%E7%AA%97Callbacks.gif)|![](https://github.com/princekin-f/EasyFloat/blob/master/readme/%E6%96%B9%E4%BE%BF%E7%9A%84view%E4%BF%AE%E6%94%B9.gif)|![](https://github.com/princekin-f/EasyFloat/blob/master/readme/DragUtils.gif)| ## 下载体验: -- [直接下载测试APK](https://raw.githubusercontent.com/princekin-f/EasyFloat/master/example/release/EasyFloat.apk),或者扫码下载: +- [直接下载测试APK](http://fir.zsc7454.cn/qgp2?release_id=603e0d26b2eb4639c8315f4d),或者扫码下载: ![](https://raw.githubusercontent.com/princekin-f/EasyFloat/master/example/release/downloadImage.png) diff --git a/easyfloat/src/main/java/com/lzf/easyfloat/core/FloatingWindowManager.kt b/easyfloat/src/main/java/com/lzf/easyfloat/core/FloatingWindowManager.kt index b21c226..1b09b9c 100644 --- a/easyfloat/src/main/java/com/lzf/easyfloat/core/FloatingWindowManager.kt +++ b/easyfloat/src/main/java/com/lzf/easyfloat/core/FloatingWindowManager.kt @@ -16,8 +16,6 @@ internal object FloatingWindowManager { private const val DEFAULT_TAG = "default" val windowMap = ConcurrentHashMap() -// val map :ConcurrentHashMap -// val list = java.util.Collections.synchronizedList(mutableListOf()) /** * 创建浮窗,tag不存在创建,tag存在创建失败 diff --git a/example/release/EasyFloat.apk b/example/release/EasyFloat.apk index 382a28a..f15c83e 100644 Binary files a/example/release/EasyFloat.apk and b/example/release/EasyFloat.apk differ diff --git a/example/release/downloadImage.png b/example/release/downloadImage.png index 96729fb..ad6afb9 100644 Binary files a/example/release/downloadImage.png and b/example/release/downloadImage.png differ diff --git a/example/src/main/java/com/lzf/easyfloat/example/activity/MainActivity.kt b/example/src/main/java/com/lzf/easyfloat/example/activity/MainActivity.kt index 7a335d8..0e83cf8 100644 --- a/example/src/main/java/com/lzf/easyfloat/example/activity/MainActivity.kt +++ b/example/src/main/java/com/lzf/easyfloat/example/activity/MainActivity.kt @@ -146,7 +146,7 @@ class MainActivity : BaseActivity(), View.OnClickListener { private fun showActivity2(tag: String = "seekBar") { // 改变浮窗1的文字 - EasyFloat.getFloatView()?.findViewById(R.id.textView)?.text = "恭喜浮窗2" + EasyFloat.getFloatView("showActivityFloat")?.findViewById(R.id.textView)?.text = "欢迎浮窗2" EasyFloat.with(this) .setTag(tag) diff --git a/readme/DragUtils.gif b/readme/DragUtils.gif new file mode 100644 index 0000000..427660d Binary files /dev/null and b/readme/DragUtils.gif differ diff --git "a/readme/dialog\345\222\214xml\344\275\277\347\224\250.gif" "b/readme/dialog\345\222\214xml\344\275\277\347\224\250.gif" deleted file mode 100644 index 3301063..0000000 Binary files "a/readme/dialog\345\222\214xml\344\275\277\347\224\250.gif" and /dev/null differ