Android Widget RemoteView ImageButton setImageSource -


would use image button in widget layout. want image clickable, clicking on image change image. not sure how set in widgetprovider remoteview. know how this? how change image within onreceive in widget provider? thanks

thanks

specifically how change image within onreceive in widget provider?

call setimageviewbitmap(), setimageviewresource(), or setimageviewresource() on remoteviews in onupdate() method, or in intentservice invoke onupdate() method, or anywhere else using appwidgetmanager update app widget.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -