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.