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

x.Ext.init #18

Closed
cxbiao opened this issue Nov 19, 2015 · 4 comments
Closed

x.Ext.init #18

cxbiao opened this issue Nov 19, 2015 · 4 comments

Comments

@cxbiao
Copy link

cxbiao commented Nov 19, 2015

建议参数类型改为context,现在是application,感觉不方便

@wyouflf
Copy link
Owner

wyouflf commented Nov 19, 2015

context容易误用, 可能传入Activity等, 会影响Activity的生命周期.
插件化工程可能自己包装context, 可能存在不适用的情况.

@cxbiao
Copy link
Author

cxbiao commented Nov 19, 2015

那你传application级别context的用意是什么呢?

@wyouflf
Copy link
Owner

wyouflf commented Nov 19, 2015

  • 创建数据库
  • 获取屏幕分辨率, 图片采样等使用
  • 访问Assets中的图片
  • 获取应用内存信息等
  • 获取应用私有路径, 创建缓存文件等

@cxbiao
Copy link
Author

cxbiao commented Nov 20, 2015

现在版本迭代太快了吧,究竟哪个是稳定版本?

##########################################
刚发布, 快速更新主要是优化参数和解决问题反馈,
我们内部使用的场景比较少, 几乎没遇到什么问题, 发布后主要优化各种大家使用的反馈.
功能已经是稳定的了, 更新到3.0.9.

@wyouflf wyouflf closed this as completed Nov 26, 2015
@kumaleap kumaleap mentioned this issue May 27, 2016
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