//workflow/com.squareup.workflow1.ui.modal/ModalViewContainer/Companion/binding
binding¶
[androidJvm]
Content
inline fun <H : HasModals<*, *>> binding(@IdRes()id: Int = View.NO_ID): ViewFactory<H>
More info
Creates a ViewFactory for modal container screens of type H.
Each view created for HasModals.modals will be shown in a Dialog whose window is set to size itself to WRAP_CONTENT (see android.view.Window.setLayout).
Parameters¶
androidJvm
id | a unique identifier for containers of this type, allowing them to participate view persistence |