ExpandableWidgetHelper

public final class ExpandableWidgetHelper


ExpandableWidgetHelper is a helper class for writing custom ExpandableWidgets and . Please see the interface documentation when implementing your custom class.

Summary

Public fields

int

Public constructors

Call this from the constructor.

Public methods

int

Call this from getExpandedComponentIdHint.

boolean

Call this from isExpanded.

void
onRestoreInstanceState(Bundle state)

Call this from onRestoreInstanceState.

Bundle

Call this from onSaveInstanceState.

boolean
setExpanded(boolean expanded)

Call this from setExpanded.

void
setExpandedComponentIdHint(int expandedComponentIdHint)

Call this from setExpandedComponentIdHint.

Public fields

expandedComponentIdHint

public int expandedComponentIdHint

Public constructors

ExpandableWidgetHelper

public ExpandableWidgetHelper(ExpandableWidget widget)

Call this from the constructor.

Public methods

getExpandedComponentIdHint

public int getExpandedComponentIdHint()

Call this from getExpandedComponentIdHint.

isExpanded

public boolean isExpanded()

Call this from isExpanded.

onRestoreInstanceState

public void onRestoreInstanceState(Bundle state)

Call this from onRestoreInstanceState.

onSaveInstanceState

public Bundle onSaveInstanceState()

Call this from onSaveInstanceState.

setExpanded

public boolean setExpanded(boolean expanded)

Call this from setExpanded.

setExpandedComponentIdHint

public void setExpandedComponentIdHint(int expandedComponentIdHint)

Call this from setExpandedComponentIdHint.