Xamarin.iOS Delegate

I have a problem in creating class for xamarin.ios delegate.
In iOS we use protocols to implement the delegate but here I can not implement Interface as a delegate.
Let me clear this concept.
I have an interface in one file like:

public interface SendBackDelegate
{
     void sendBackData();
}

public class SelectList
{

}

In other file I have main class like this:

public class ShowList: SendBackDelegate
{
public ShowList()
{
SelectList obj = new SelectList();
obj.delegate = this;
}
void sendBackData()
{
Console.WriteLine("Send Back DATA");
}
}

Now Can you please tell me how this interface be implemented in SelectList class?

Thanks

Sign In or Register to comment.