1 Star 0 Fork 5.3K

Srtian / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
OHOS-UIScrollView-OnScrollListener.md 5.81 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

OHOS::UIScrollView::OnScrollListener

Overview

Related Modules:

Graphic

Description:

Represents a listener that contains a callback to be invoked upon scroll state changes. The state can either be SCROLL_STATE_STOP or SCROLL_STATE_MOVE.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

OnScrollListener ()

 

A constructor used to create an OnScrollListener instance with the default scroll state SCROLL_STATE_STOP.

~OnScrollListener ()

virtual 

A destructor used to delete the OnScrollListener instance.

OnScrollStart ()

virtual void 

Called when a scroll starts.

OnScrollEnd ()

virtual void 

Called when a scroll ends.

GetScrollState () const

uint8_t 

Obtains the scroll state of this view.

operator new (size_t size)

void * 

Overrides the new function.

operator delete (void *p)

void 

Overrides the delete function.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/srtian96/docs.git
git@gitee.com:srtian96/docs.git
srtian96
docs
docs
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891