I know that glide support AppWidgetTarget for load image to image view in home screen widget RemoteView.
But what if loading image process is too long?
Android Widget Provider is broadcast receiver, so I know that there is a time limit when running widget provider code (ex) onUpdate() method).
android developer document of widget also said like below.
Note: Because AppWidgetProvider is an extension of BroadcastReceiver, your process is not guaranteed to keep running after the callback methods return (see BroadcastReceiver for information about the broadcast lifecycle). If your widget setup process can take several seconds (perhaps while performing web requests) and you require that your process continues, consider starting a Task using WorkManager in the onUpdate() method. From within the task, you can perform your own updates to the widget without worrying about the AppWidgetProvider closing down due to an Application Not Responding (ANR) error.
My concern is that after app widget provider code finish, but glide thread is not(async glide scenario), app process will shut down and because of that, glide thread fail to update image view and finish together.
Is it obsolete concern?