后浪云鸿蒙OS教程:鸿蒙OS Component.LayoutRefreshedListener

Component.LayoutRefreshedListener

public static interface Component.LayoutRefreshedListener

提供在再次布局组件时调用的回调。

方法总结

修饰符和类型方法描述
voidonRefreshed(Component component)在组件重新布局时调用。

方法详情

onRefreshed

void onRefreshed(Component component)

在组件重新布局时调用。

参数:

参数名称参数描述
component表示已重新布局的组件。
THE END