I'm having an issue with a clock face I'm working on in which it downloads and installs correctly, and I can use the ImagePicker and theme color picker without issue, but when I go to my clocks app and select a different face, when I reselect the clock face I'm having issues with, the screen stays blank. If I take either feature out, the clock face works just fine. If someone could look at the code and let me know how to integrate both into the clock face, that would be greatly appreciated. I've provided a link to the source files for download/viewing.
https://github.com/SuperStevo86/Clock-Only-Beta.git
Thank you in advance.
SuperStevo86
Answered! Go to the Best Answer.
Best AnswerI've made more changes to my code and now I'm back to image not reloading on restore, but the theme color does. Is that expected behavior, and everything is functioning properly or is there still an issue regarding the image reloading?
Best AnswerI haven't looked at your code, but the symptoms sound like you may not be saving and restoring the settings on your watch. When your clockface is closed (eg, because another clockface is started), the values of all variables are lost.
Best AnswerThat was what I was thinking, but I can't figure out what to change in the code to make everything work.
Best AnswerI've figured out what needed to be changed so the clock face would reload without going to a blank screen. Now, the issue is the image won't reload, but the theme color does.
Best AnswerI've moved my files to a repository on GitHub so they can more easily be viewed.
I'm still having the issue where the image I select doesn't reload when I reload the app. Please hellp.
Best AnswerGitHub is now updated with new code.
Now the image reloads successfully but the text isn't loading at all.
Best AnswerI've made more changes to my code and now I'm back to image not reloading on restore, but the theme color does. Is that expected behavior, and everything is functioning properly or is there still an issue regarding the image reloading?
Best Answer