-
public class ModalViewContainer.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static ModalViewContainer.CompanionINSTANCE
-
Method Summary
-
-
Method Detail
-
binding
final <H extends HasModals<?, ?>> ViewFactory<H> binding(@IdRes() Integer id)
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:
id- a unique identifier for containers of this type, allowing them to participate view persistence
-
-
-
-