Devices like Samsung Galaxy S3 working with Android version 4.1.2 has a bug which prevents onAppWidgetOptionsChanged to be called.
So, how can we get information related to changed sizes?
Devices like Samsung Galaxy S3 working with Android version 4.1.2 has a bug which prevents onAppWidgetOptionsChanged to be called.
So, how can we get information related to changed sizes?
I am adding to Frankish's answer with how I handle receiving this broadcast:
You may need to change how you handle that bundle if you are using MAX_HEIGHT or MAX_WIDTH which I am not.
I have discovered that you can catch RESIZE action in onReceive function.
You'll get the following values from this intent's getExtras() bundle:
Now you can use these values to update the view or store them in a static integer map variable to use in the next onUpdate.