GridViewGesture

fun GridViewGesture(context: Context)

Creates an object that extends GridView to register fling gestures.

Parameters

context

Context of the application environment.

fun GridViewGesture(context: Context, attrs: AttributeSet)

Creates an object that extends GridView to register fling gestures.

Parameters

context

Context of the application environment.

attrs

Collection of attributes.

fun GridViewGesture(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Creates an object that extends GridView to register fling gestures.

Parameters

context

Context of the application environment.

attrs

Collection of attributes.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults values for the StyledAttributes. Can be 0 to not look for defaults.

fun GridViewGesture(context: Context, attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Creates an object that extends GridView to register fling gestures.

Parameters

context

Context of the application environment.

attrs

Collection of attributes.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults values for the StyledAttributes. Can be 0 to not look for defaults.

defStyleRes

A resource identifier of a style resource that supplies default values for the StyledAttributes, used only if defStyleAttr is 0 or can not be found in the theme. Can be 0 to not look for defaults.