getContentHeightForAutosizing(int) method

Agentry will call this method if getAutosizeBehavior() is overridden to return AutosizeBehavior.Autosize_WrapContent.

Syntax

public int getContentHeightForAutosizing (int width)

Parameters

Returns

the height needed in pixels for the extension to show the current data

Usage

Agentry passes in the extension view's width in pixels. The extension then needs measure the height needed for the content in pixels and return it.