//workflow/com.squareup.workflow1.ui/getRendering
getRendering¶
[androidJvm]
Content
@WorkflowUiExperimentalApi()
inline fun <RenderingT : Any> View.getRendering(): RenderingT?
More info
This will be deprecated in favor of screenOrNull very soon.
Returns the most recent rendering shown by this view cast to RenderingT, or null if bindShowRendering has never been called.
Throws¶
java.lang.ClassCastException | if the current rendering is not of type RenderingT |