Android Question Question about an array of Widget in Reflector library

Laurent95

Active Member
Licensed User
Longtime User
Hello,

I have tracing in log my widget app, who use Reflector for several widgets, due to some limitations on the weather's website.

As you can see the lenght of the array still keep several ID even there are no widget on the home screen. That it's due to test without Wifi before, who do the app crash, for resolve it.

If someone have an idea why the number of widgets still this even there are not on the home screen ?
I need to test it and clear the cache after an update if the user haven't widget on the home screen.

Or maybe Erel can tell me how i can clear the cache for the widgets with Reflector for this component ?

Thanks by advance.
Regards.
 

Attachments

  • Log_WidgetWeather_not_same_lenght_on_array.txt
    1.4 KB · Views: 215
Last edited:

Laurent95

Active Member
Licensed User
Longtime User
Hello Erel,

Thanks for reply.
I manage multiple instances of the same widget.
It's the same service.
 
Upvote 0

Laurent95

Active Member
Licensed User
Longtime User
Managing multiple instances of the same widget is not really supported by the internal library. Corwin has wrote a tutorial about it. I haven't tried it.
Hello,
I know, it's his tutorial that help me to do it.
that works not bad just some things like that who stay not really understandable sometime.
But i think the result is good.
No worries i find another way to manage the update.
 
Upvote 0

Similar Threads

Top