listenerThe callback to add
TypeReasonJava.Lang.IllegalStateExceptionIf ViewTreeObserver.IsAlive returns false
Register a callback to be invoked when the view tree is about to be drawn
[Android Documentation]