Can I have a class that extends View and implements SurfaceHolder.Callback and inside this class have a SurfaceView object? If this is possible, then I’d have to call on the SurfaceView constructor like this:
SurfaceView sview = SurfaceView(this) inside the constructor of View’s subclass.
I can’t compile because of the foll error:
‘The constructor SurfaceView(myClass) is undefined’
Any idea why?