createOrientationHelper

Creates an OrientationHelper for the given LayoutManager and orientation.

Return

A new OrientationHelper

Parameters

layoutManager

LayoutManager to attach to

orientation

Desired orientation. Should be HORIZONTAL or VERTICAL