-
public class PLYFlowModalFragment.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatHEIGHT_RATIOpublic final static PLYFlowModalFragment.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final PLYFlowModalFragmentnewInstance(PLYPresentation presentation)Creates a new instance of PLYFlowModalFragment with a given presentation. final PLYFlowModalFragmentnewInstance(PLYPresentationProperties properties)Creates a new instance of PLYFlowModalFragment with a given presentation properties. final FloatgetHEIGHT_RATIO()Fixed height ratio for modal (98% of screen height). -
-
Method Detail
-
newInstance
final PLYFlowModalFragment newInstance(PLYPresentation presentation)
Creates a new instance of PLYFlowModalFragment with a given presentation.
- Parameters:
presentation- The presentation to display.
-
newInstance
final PLYFlowModalFragment newInstance(PLYPresentationProperties properties)
Creates a new instance of PLYFlowModalFragment with a given presentation properties.
- Parameters:
properties- The PLYPresentationProperties to be used for fetching the presentation.
-
getHEIGHT_RATIO
final Float getHEIGHT_RATIO()
Fixed height ratio for modal (98% of screen height).
-
-
-
-