buildAlertsItem
fun buildAlertsItem(childFragmentManager: FragmentManager, entityAlertListFragment: Fragment?): PoiAdapter.PoiItem?
Builds the PoiItem for the inline alerts row, or returns null when there is no alert fragment to host.
The alerts button / row can be requested for an entity that has active alerts (see com.mapsted.ui.MapUiApi.AlertProvider.hasAlerts) while the alert-list fragment still comes back null — for example a live alert that carries only impact data (impacted areas / polygon style) and no list-view configuration, so no list fragment is produced. Enqueuing an ALERTS row with a null fragment used to crash the adapter on bind via the fragment transaction. Returning null here keeps the ALERTS row out of the list entirely so nothing is shown rather than crashing.