Package 

Object ModalViewContainer.Companion

    • Method Summary

      Modifier and Type Method Description
      final <H extends HasModals<?, ?>> ViewFactory<H> binding(@IdRes() Integer id) Creates a ViewFactory for modal container screens of type H.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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