copy

Creates a copy of this HeaderFooterViewData with optional replacement view.

Return

A new HeaderFooterViewData instance with the updated view.

Parameters

view

The new View to be used. Defaults to the current instance's view if null.