set Portal Fragment Type
Set the PortalFragment class used with displaying the Portal when added to an XML layout.
Example usage (kotlin):
builder = builder.setPortalFragmentType(MyPortalFragment::class.java)
Content copied to clipboard
Example usage (java):
builder = builder.setPortalFragmentType(MyPortalFragment.class);
Content copied to clipboard
Return
the instance of the PortalBuilder with the fragment type set
Parameters
portal Fragment Type
a class that extends PortalFragment