您的位置:58编程 > 鸿蒙系统 鸿蒙OS ListComponent.CachePolicyListener

鸿蒙系统 鸿蒙OS ListComponent.CachePolicyListener

2023-04-25 09:34 鸿蒙OS开发文档

鸿蒙系统 鸿蒙OS ListComponent.CachePolicyListener

鸿蒙系统 鸿蒙OS ListComponent.CachePolicyListener

鸿蒙系统

ListComponent.CachePolicyListener

public static interface ListComponent.CachePolicyListener

实现监听以将组件添加到 ListComponentPool。

方法总结

修饰符和类型 方法 描述
void onCachePolicy(ComponentOwner owner) 回收组件时调用。代码 ListComponent 在清除 ComponentOwner 的内部数据并将组件添加到 ListComponentPool 之前调用此方法。

方法详情

onCachePolicy

void onCachePolicy(ComponentOwner owner)

回收组件时调用。代码 ListComponent 在清除 ComponentOwner 的内部数据并将组件添加到 ListComponentPool 之前调用此方法。

参数:

参数名称 参数描述
owner 表示回收组件的 ComponentOwner。
阅读全文
以上是58编程为你收集整理的鸿蒙系统 鸿蒙OS ListComponent.CachePolicyListener全部内容。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
相关文章
© 2024 58编程 58biancheng.com 版权所有 联系我们
桂ICP备12005667号-32 Powered by CMS