com.mapsted.alerts.AlertsApi.Views |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
createAlertListPartialFragment(List<String> alertIds, Consumer<Fragment> fragmentConsumer)
Create partial fragment alert list for given alertIds
| ||||||||||
abstract Fragment |
createAlertPartialFragmentForEntity(Entity entity)
Generate a partial fragment which can be used in conjunction
with the Selected POI view
| ||||||||||
abstract Fragment | createAlertSummaryFragment(int propertyId) | ||||||||||
abstract boolean |
displayAlertListDialog(List<String> alertIds, FragmentManager fragmentManager, Consumer<EntityZone> entityZoneSelection)
Display an Alert UI view for the alertIds provided.
| ||||||||||
abstract boolean |
displayAlertListDialogForEntity(Entity entity, FragmentManager fragmentManager, Consumer<EntityZone> entityZoneSelection)
Display an Alert UI view for the entity provided
This will display only the alerts related to the entity.
| ||||||||||
abstract boolean |
displayAlertSummaryDialog(int propertyId, FragmentManager fragmentManager)
Generate an Alert UI view for the property provided.
|
Create partial fragment alert list for given alertIds
alertIds | the alerts to populate |
---|---|
fragmentConsumer | the created fragment (nullable) |
Generate a partial fragment which can be used in conjunction with the Selected POI view
entity | The entity whose Alert's are to be shown |
---|
Display an Alert UI view for the alertIds provided. This will display only the alertIds provided in a list.
alertIds | The alerts to be shown |
---|---|
fragmentManager | the fragment manager for populating the dialog |
entityZoneSelection | callback for if/when an item is selected |
Display an Alert UI view for the entity provided This will display only the alerts related to the entity.
entity | The entity whose alerts are to be shown |
---|---|
fragmentManager | the fragment manager for populating the dialog |
entityZoneSelection | callback for if/when an item is selected |
Generate an Alert UI view for the property provided. This will give a summary of Active Emergency and Scheduled Alerts.
propertyId | The property to be shown |
---|---|
fragmentManager | the fragment manager for populating the dialog |