newInstance
fun newInstance(messageId: String, messageTitle: String? = null, showNavIcon: Boolean? = null): MessageCenterMessageFragment
Creates a new instance of MessageCenterMessageFragment.
Return
A new instance of MessageCenterMessageFragment.
Parameters
messageId
The message ID to display.
messageTitle
Optional message title to display. If null
, the title will be loaded from the message.
showNavIcon
Optional flag to show the toolbar navigation icon. If null
, the icon will be shown.