[Bug] Progressbar SetVisible Widget

FinerDesign

Member
Licensed User
Longtime User
Hey guys if I add this line into the home widget example or into my own project the widget changes to a "Problem loading widget" box when it gets updated.

rv.SetVisible("ProgressBar1",False)
or
rv.SetVisible("ProgressBar1",True)

Setting Visible parameter in the designer works.

I don't remember seeing anything posted about limitations on the widget SetVisible function with the progress bar so was wondering if this is a bug



Many Thanks
-Dave
 

FinerDesign

Member
Licensed User
Longtime User
09-22 17:26:15.163: WARN/AppWidgetHostView(3356): updateAppWidget couldn't find any view, using error view

09-22 17:26:15.163: WARN/AppWidgetHostView(3356): android.widget.RemoteViews$ActionException: view: android.widget.ProgressBar can't use method with RemoteViews: setVisibility(int)


-Dave

edit:
the only thing I can find about the issue:
http://groups.google.com/group/android-developers/browse_thread/thread/5649d36087339292
 
Last edited:

agraham

Expert
Licensed User
Longtime User
Last edited:
Top