Passing an array of integers from an AppWidget to a preexisting RemoteViewsService to be rendered by the RemoteViewsFactory?

My solution to an integer array being passed to the RemoteViewsFactory was solved using a BroadcastReceiver. I extended my RemoteViewsFactory to implement the BroadcastReceiver (specifically onReceive), and registered it with my application in the constructor for the factory (this also means I unregistered it in the onDestroy). With that, I was able to broadcast the intent with the integer array that I had in the onReceive of my AppWidgetProvider and receive it within the RemoteViewsFactory.

My solution to an integer array being passed to the RemoteViewsFactory was solved using a BroadcastReceiver. I extended my RemoteViewsFactory to implement the BroadcastReceiver (specifically onReceive), and registered it with my application in the constructor for the factory (this also means I unregistered it in the onDestroy). With that, I was able to broadcast the intent with the integer array that I had in the onReceive of my AppWidgetProvider and receive it within the RemoteViewsFactory.

Make sure to also call the AppWidgetManager's notifyAppWidgetViewDataChanged so that the RemoteViewsFactory knows that the data it was using previously has been invalidated and a new integer array is presented to create new RemoteViews off of.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions