I have a sensor widget, which displays the name of the selected sensor, scale and value.
A sensor is selected by editing the widget, sensors list is passed dynamically to the sensor intent.
Before selecting any sensor(right after adding a widget to homescreen), a simple message "Edit and select a sensor" is shown.
The issue is after selecting a sensor from the sensors list, the widget's "getTimeline" is sometimes not triggered, which results in showing "Edit and select a sensor" always!!
From the main app, on start, all the widgets are manually refreshed using "reloadAllTimelines" method. So when the app is opened the "Edit and select a sensor" message gets replaced with the correct/selected sensor details.
Current Behaviour
"getTimeline" sometimes not called even after changing a widget's configuration.
Expected behaviour
"getTimeline" should be reliable and should get called when a widget is edited and configuration is changed.
A sensor is selected by editing the widget, sensors list is passed dynamically to the sensor intent.
Before selecting any sensor(right after adding a widget to homescreen), a simple message "Edit and select a sensor" is shown.
The issue is after selecting a sensor from the sensors list, the widget's "getTimeline" is sometimes not triggered, which results in showing "Edit and select a sensor" always!!
From the main app, on start, all the widgets are manually refreshed using "reloadAllTimelines" method. So when the app is opened the "Edit and select a sensor" message gets replaced with the correct/selected sensor details.
Current Behaviour
"getTimeline" sometimes not called even after changing a widget's configuration.
Expected behaviour
"getTimeline" should be reliable and should get called when a widget is edited and configuration is changed.