setVisibleDocument

Changes currently visible document.

This method may only be called if onSaveInstanceState has not been called or an exception will be thrown, since after that call state loss could occur.

Return

true when visible document has changed.

Parameters

visibleDocument

Document that should be made visible.