| java.lang.Object | |
| ↳ | com.mapsted.alerts.MapstedAlertsApi.ViewsImpl |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
createAlertListPartialFragment(List<String> alertIds, Consumer<Fragment> fragmentConsumer)
Create partial fragment alert list for given alertIds
| ||||||||||
| Fragment |
createAlertPartialFragmentForEntity(Entity entity)
Generate a partial fragment which can be used in conjunction
with the Selected POI view
| ||||||||||
| Fragment | createAlertSummaryFragment(int propertyId) | ||||||||||
| boolean |
displayAlertListDialog(List<String> alertIds, FragmentManager fragmentManager, Consumer<EntityZone> entityZoneSelection)
Display an Alert UI view for the alertIds provided
| ||||||||||
| boolean |
displayAlertListDialogForEntity(Entity entity, FragmentManager fragmentManager, Consumer<EntityZone> entityZoneSelection)
Display an Alert UI view for the entity provided
| ||||||||||
| boolean |
displayAlertSummaryDialog(int propertyId, FragmentManager fragmentManager)
Generate an Alert UI view for the property provided.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.mapsted.alerts.AlertsApi.Views
| |||||||||||
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
| 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
| 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 |