from
A utility function to get the ExpandableBehavior attached to the view.
Return
The ExpandableBehavior attached to the view.
Parameters
view
The View that the ExpandableBehavior is attached to.
klass
The expected Class of the attached ExpandableBehavior.