How do I override the base class constructor in C# with Visual Studio, i have tried calling this but compiler reports an error that MyGLSurfaceView
does not contain a constructor that takes 0 arguments and yet I have an argument in the constructor implementation please help..
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Opengl;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace Painting
{
class MyGLSurfaceView : GLSurfaceView
{
Context mycontext;
private readonly MyGlRenderer render;
// Constructor with one argument
// Compiler reports an error saying this constructor does not take 0 arguments
public MyGLSurfaceView(Context context)
{
//
}
}
}