getState

public final ImageViewState getState()

Get the current state of the view (scale, center, orientation) for restoration after rotate. Will return null if the view is not ready.

Return

an ImageViewState instance representing the current position of the image. null if the view isn't ready.