-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add home screen widget for Android app #8
Merged
Merged
Conversation
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
It's more usable to have all items list in one list, and this also allows adding separate tab to configure visibility of items in widget. Xamarin.Shell is used to present the tabs, so some things related to styles had to be updated too.
The tab is used to select which items are shown in app widget. Currently the content is very similar to that of summary options tab, but in future they both will likely get unique options too.
It makes XAML lighter and allows using same functionality from widget
Add more padding in grid
It seems that Android widget updating is quite shaky nowadays (due to different kind of power saving functionality affecting what apps can do on background). Manual update by tapping is one workaround. Need to look more into this later. |
Try using workaround until this has been fixed in Azure. https://developercommunity.visualstudio.com/content/problem/1004353/azure-devops-hosted-macos-xamarinios-build-error-m.html
ilpork
changed the title
Add home screen widget to Android app
Add home screen widget for Android app
Apr 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds widget for Android app to show three measurement values on home screen. The information to be shown is selected in Options page of the app. Visibility of summary page items is now also set on Options page, which has now three tabs (general, summary page and widget options).
Widget uses same data service as the LocationListViewModel to get the data. Update interval is 1 hour and widget can also be updated manually by tapping it.
Fixes #7