[mono-android] Trouble with Android.Provider.BaseColumns

Jeremy A. Kolb - ARA/NED jkolb at ara.com
Tue Oct 2 14:38:55 UTC 2012


This may sound silly but I'm having trouble inheriting from BaseColumns.  I have this class:

public sealed class Columns : BaseColumns
{
    public static readonly string FirstName = "FirstName";
    public static readonly string LastName = "LastName";
    public static readonly string Role = "Role";
    public static readonly string Skills = "Skills";
    public static readonly string CurrentlyActive = "CurrentlyActive";
}

The compiler complains that the type Android.Provider.BaseColumns has no constructor defined.

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20121002/4b5193ac/attachment.html>


More information about the Monodroid mailing list