• 0 Posts
  • 24 Comments
Joined 9 months ago
cake
Cake day: October 7th, 2023

help-circle







  • Ha

    You should hear of the method of pretending you’re at breakfast or some other anthropomorphized situation, where you name things as butter and cheese, knife and bread, tea and teapot

    Then there’s Hungarian notation which is actually used seriously. But I can’t give an entertaining example only s boring and probably inaccurate one.




  • I think the msg sent yesterday didn’t get through;

    periodic alarms is the old way; periodic work manager is the new way.

    trigger your workmanager schedule by either alarm or by opening the app. but use the alarm only once if you must.

    my wallpaper used to handle reboots by listening to a boot event, which would trigger workmanager. Unfortunately I haven’t come to find an alternative for that for general apps. However, if your wallpaper is set to your app I bet there’s a way to check if you have any workmanager scheduled, and if it’s not, do it from there. I don’t mean from Application or any Activity, I mean from WallpaperService. Anyways, if WallpaperService never runs you shouldn’t have workmanager set and consume horde resources anyways.