-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Home Screen: Show a snackbar hint on survey change (#2274)
* Home Screen: Show a snackbar hint on survey change Displays a snackbar hint when a new survey is selected. The hint text varies based on the following survey properties: - If there is at least one job lacking the predefined data collection strategy. - If there are zero LOIs associated with the jobs. Otherwise, we display some default text. * Refactor EphemeralPopups Refactors the EphemeralPopups class to support both error and informational popups, wrapping underlying device classes. Also modifies our handling of informational popups in the homescreen, moving more data management and transformation operations into the viewmodel. * HomeScreenFragment: validate state of viewmodel and view... ...before calling showDataCollectionHint. Suppress Detekt Data Class warning on EphemeralPopups. * Fix call to EphemeralPopups.ErrorPopup.show * Small cleanup in EphemeralPopups --------- Co-authored-by: Gino Miceli <228050+gino-m@users.noreply.github.com>
- Loading branch information
Showing
7 changed files
with
106 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters