Skip to content

Android.Provider.CalendarContract.IEventsColumns should be public (to be able to use constants) #5868

@JeroenBer

Description

@JeroenBer

We are using constants like:

  • Android.Provider.CalendarContract.EventsColumns.Title
  • Android.Provider.CalendarContract.EventsColumns.EventLocation

After upgrading to Xamarin.Android.SDK 11.2.2.1 (from 10.2.0.100) we get compiler warnings:
" 'CalendarContract.EventsColumns' is obsolete: 'Use the 'Android.Provider.CalendarContract.IEventsColumns' type. This class will be removed in a future release."

So we changed EventsColumns to IEventsColumns. However then we get a compiler error because IEventsColumns is inaccessible. After looking at the source, this is:

protected internal interface IEventsColumns

I think this should be made public, otherwise we can no longer use these constants.

Metadata

Metadata

Assignees

Labels

Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions