<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
    <NotificationListItem
        class="sapUshellNotificationsListItem sapContrastPlus sapContrast"
        press="onNotificationItemPress"
        close="onNotificationItemClose"
        datetime="{path: 'CreatedAt', formatter: 'sap.ushell.utils.formatDate'}"
        description="{SubTitle}"
        title="{= ${SensitiveText} ? ${SensitiveText} : ${Text}}"
        buttons="{
            path: 'Actions',
            sorter: {
                path: 'Nature',
                descending: true
            },
            templateShareable: true
        }"
        unread="{= !${IsRead}}"
        busy="{= ${Busy} ? ${Busy} : false}"
        priority="{ path: 'Priority', formatter: '.priorityFormatter'}">
        <buttons>
            <Button
                text="{ActionText}"
                press="onNotificationItemButtonPress"/>
        </buttons>
    </NotificationListItem>
</core:FragmentDefinition>
