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

Added "Fetch ResourceId/View in other plugins" #290

Merged
merged 7 commits into from
Aug 10, 2017

Conversation

jiongxuan
Copy link
Contributor

添加一些方便实用的接口,包括:

  • fetchResourceIdByName
  • fetchViewByLayoutName
  • RePluginCompat,可以让plugin-lib使用旧的host-lib而不受影响

@jiongxuan jiongxuan requested a review from cundong August 10, 2017 08:27
* 性能消耗:等同于 fetchResources
*
* @param pluginName 插件名
* @param resTypeAndName 要获取的资源类型+插件名,格式为:“[type]/[name]”。例如: <p>
Copy link
Contributor

@wangfuda wangfuda Aug 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be:要获取的资源类型+资源名

Copy link
Contributor Author

@jiongxuan jiongxuan Aug 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

哈哈,确实注释写错了。太仔细了!我这就改下。

对了,其它逻辑上有没有啥问题呢?这个改动只是一个封装,主要是网上要的人比较多,我就加进来了 :-)

@cundong cundong merged commit 766bdf7 into Qihoo360:dev Aug 10, 2017
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

Successfully merging this pull request may close these issues.

3 participants