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

系统悬浮窗创建完后怎么去修改里面的文本内容和布局内容? #8

Closed
fengzhous opened this issue Sep 3, 2019 · 2 comments

Comments

@fengzhous
Copy link

系统悬浮窗创建完后怎么去修改里面的文本内容和布局内容?
好像现在没这个功能,有没有当系统悬浮窗显示后,我需要修改悬浮窗里面的内容的时候,比如发一个通知,悬浮窗收到通知后立马更改展示的文本内容之类的。

@princekin-f
Copy link
Owner

有两种方案:

  • 1,将系统浮窗放到BaseActivity里,把OnInvokeView里面的view,提到Activity里;
  • 2,新增了两个API(v 1.0.6),getAppFloatView可用于获取我们传入的布局View。

@fengzhous
Copy link
Author

感谢添加

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

2 participants