Thank you so much! These needs to be added to Android's documentation
somewhere because it took many hours to come to this realization myself!
I thought I was being smart by preserving my RemoteView's instance, but in
reality I was keeping hard-references to Bitmaps.
As a text clock widget update
So internally RemoteViews is simply a set of actions that are
"serialized" and sent to another process. Each time you make a call
to something like setDouble(), you're adding an additional action to
RemoteViews' internal list.
Because there isn't a way of clearing these actions from a RemoteView
2 matches
Mail list logo