Skip to content

Commit

Permalink
2.0.0-beta
Browse files Browse the repository at this point in the history
Lewis committed Mar 2, 2021
1 parent 8973af4 commit 1f9d636
Showing 7 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Original file line number Diff line number Diff line change
@@ -16,8 +16,6 @@ internal object FloatingWindowManager {

private const val DEFAULT_TAG = "default"
val windowMap = ConcurrentHashMap<String, FloatingWindowHelper>()
// val map :ConcurrentHashMap
// val list = java.util.Collections.synchronizedList(mutableListOf<String>())

/**
* 创建浮窗,tag不存在创建,tag存在创建失败
Binary file modified example/release/EasyFloat.apk
Binary file not shown.
Binary file modified example/release/downloadImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -146,7 +146,7 @@ class MainActivity : BaseActivity(), View.OnClickListener {

private fun showActivity2(tag: String = "seekBar") {
// 改变浮窗1的文字
EasyFloat.getFloatView()?.findViewById<TextView>(R.id.textView)?.text = "恭喜浮窗2"
EasyFloat.getFloatView("showActivityFloat")?.findViewById<TextView>(R.id.textView)?.text = "欢迎浮窗2"

EasyFloat.with(this)
.setTag(tag)
Binary file added readme/DragUtils.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed readme/dialog和xml使用.gif
Binary file not shown.

0 comments on commit 1f9d636

Please sign in to comment.