Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Home Screen Widget Refresh possible?

$
0
0

How would I programmically refresh my home screen widget (say in a service, or if I want it to refresh when the user clicks a button within an activity to refresh the widget instead of deleting and adding the widget again)?

What I want to do is: I want to create an alarm that will update the widget however often the user sets within their preferences. Oh yeah, I also dont know how to create an alarm if anyone would be kind enough to show me that code too. :)

I just need example code for:
1. Refresh widget programmically
2. alarm service

Any help in those would be greatly appreciated. I have searched and I cant seem to find something that is not out of date.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>