Hey guys luckily I’ve managed to install mono for android. I was trying to create a button that will show a toast once click. However, it seems that C# has no implements function.
How can you define this in C#?
public class helloworld extends Activity implements OnclickListener{
}
You implement an interface using the same syntax you’d use to extend a class:
Just be sure to list the class that you’re inheriting from before interfaces that you’re implementing.