-
public class PLYFlowModalFragment.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static PLYFlowModalFragment.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final PLYFlowModalFragmentnewInstance(PLYPresentation presentation, Float heightRatio)Creates a new instance of PLYFlowModalFragment with a given presentation and optional height ratio. final PLYFlowModalFragmentnewInstance(PLYPresentationProperties properties, Float heightRatio)Creates a new instance of PLYFlowModalFragment with a given presentation properties. -
-
Method Detail
-
newInstance
final PLYFlowModalFragment newInstance(PLYPresentation presentation, Float heightRatio)
Creates a new instance of PLYFlowModalFragment with a given presentation and optional height ratio.
- Parameters:
presentation- The presentation to display.heightRatio- A value between 0.0 and 1.0 representing screen height.
-
newInstance
final PLYFlowModalFragment newInstance(PLYPresentationProperties properties, Float heightRatio)
Creates a new instance of PLYFlowModalFragment with a given presentation properties.
- Parameters:
properties- The PLYPresentationProperties to be used for fetching the presentation.
-
-
-
-