someone please tell me how can I update the TextView that is on app Widget, before default update period time is come.?.?.?.(30,om, or 1h… I set on 30mins but It updates on 1h)
So I have an activity which decides what is the final text on the widget, and it may be changed by user in the runtime, so after user changes something I should be able to show the final changes on widget (immediately),but I can’t. how can I achieve this?
many thanks guys.
Just update the app widget via an
AppWidgetManager. There is nothing magic about the “update time” — you can update your app widget at any point. Construct yourRemoteViews, configure them, and use theAppWidgetManagerto push over the change to the home screen.