public static interface ListComponent.CachePolicyListener
实现监听以将组件添加到 ListComponentPool。
修饰符和类型 | 方法 | 描述 |
---|---|---|
void | onCachePolicy(ComponentOwner owner) | 回收组件时调用。代码 ListComponent 在清除 ComponentOwner 的内部数据并将组件添加到 ListComponentPool 之前调用此方法。 |
void onCachePolicy(ComponentOwner owner)
回收组件时调用。代码 ListComponent 在清除 ComponentOwner 的内部数据并将组件添加到 ListComponentPool 之前调用此方法。
参数:
参数名称 | 参数描述 |
---|---|
owner | 表示回收组件的 ComponentOwner。 |
Text.TextObserverpublic static interface Text.TextObserver提供一个文本观察器来观察组件中的文本变化。每次文本更改时都会调...
BaseItemProviderjava.lang.Object |---ohos.agp.components.BaseItemProviderpublic abstract class BaseItemProviderextends O...
CornerMark.CornerMarkCleanerjava.lang.Object |---ohos.agp.components.CornerMark.CornerMarkCleanerprotected static class ...
本章将介绍如何在系统中下载,安装和设置 Apache Pig 。先决条件在你运行Apache Pig之前,必须在系统上安装好Hadoop和Java。因此...
SPLIT 运算符用于将关系拆分为两个或多个关系。语法下面给出了 SPLIT 运算符的语法。grunt SPLIT Relation1_name INTO Relation2...
简介Hadoop Distributed File System,分布式文件系统架构Block数据块;基本存储单位,一般大小为64M(配置大的块主要是因为:1)...
native-component原生组件小程序中的部分组件是由客户端创建的原生组件,这些组件有:cameracanvasinput(仅在focus时表现为原生...
wx.offVoIPChatInterrupted(function callback)基础库 2.9.0 开始支持,低版本需做兼容处理。取消监听被动断开实时语音通话事件...
关键词:case,选择器case语句是一种多路条件分支的形式,可以解决if语句中有多个条件选项时使用不方便的问题。case语句case语句...