1 Star 0 Fork 4.9K

平凡 / 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.

1
https://gitee.com/pingfan_vs_hs/docs.git
git@gitee.com:pingfan_vs_hs/docs.git
pingfan_vs_hs
docs
docs
master

搜索帮助