Search code examples
androidwidgetspinnerremoteview

How can I set up adapter for spinner in widget from a service?


How is this possible through RemoteView? Is there any other solution?


Solution

  • RemoteViews has a method setRemoteAdapter (javadoc) which seems like what you are looking for. It is available only from API level 11 upwards though.