~~~
Copyright (2024) Bytedance Ltd. and/or its affiliates
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@bytedance/byte_global_viewpool
@bytedance/byte_global_viewpool是字节跳动自研鸿蒙组件全局复用池解决方案。https://github.com/bytedance/bGlobalViewPool
简介
本项目主要基于OpenHarmony NodeController与BuilderNode自定义挂载能力实现,从24年4月开始与华为深度合作完成。核心功能如下:
解决核心问题
待实现特性
下载安装
使用说明
注:详细代码可见Entry
1.初始化
2.设置UIContext
注:不是必要设置
3.组件复用接入
4.OnIdle预创建
前置条件:预创建的组件需要由复用池容器承载
生命周期日志解析
Demo为Entry
相关数据
注意事项
技术支持
License
~~~ Copyright (2024) Bytedance Ltd. and/or its affiliatesLicensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.