Bug 4605 - Android.Widget.RemoteViews.SetViewVisibility does not exist for all API versions
Summary: Android.Widget.RemoteViews.SetViewVisibility does not exist for all API versions
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.1.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2012-04-23 19:37 UTC by Raul Agrait
Modified: 2014-03-28 14:15 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
#monoforandroid chat transcript in which bug is discussed (1.19 KB, text/plain)
2012-04-23 19:37 UTC, Raul Agrait
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Raul Agrait 2012-04-23 19:37:16 UTC
Created attachment 1732 [details]
#monoforandroid chat transcript in which bug is discussed

The following method is not defined for most Android SDK versions in Mono for Android build 4.1.0.88858872: 

Android.Widget.RemoteViews.SetViewVisibility(int, Android.Views.SystemUiFlags)

According to jpobst in #monodroid, the method is only bound in 4.0 and 4.0.3 even though it should be available since api level 1 (see attached chat transcript).
Comment 2 Atsushi Eno 2012-04-24 00:49:24 UTC
Jonp, yes you are (and I was making the same change without reading your comment, doh!). It is now fixed. Thanks!
Comment 3 Udham Singh 2014-03-28 14:15:48 UTC
I have checked this issue on following builds:

Mac OS X 10.9.2
Xamarin Studio : 4.2.3 (build 60)
Xamarin.Android : 4.13.0 (Enterprise Edition)

Screencast: http://screencast.com/t/6nLqAO3R

Now I am getting SetViewVisibility method. Hence, I am closing this issue.