I am trying to write a interface callback from a java library inside Xamarin using c#, Below is the code snippet,
- Connector.getInstance().login(email, new ILoginCallback()
- { @Override public void onSuccess(long heloUserId)
- { /* call the required Activity for successful login */ }
- @Override public void onPinverification()
- { /*call the Pin verification activity to validate pin */ }
- @Override public void onFailure(String description)
- { /*show the toast msg for failure*/ }
- });
I am unable to do interface callback in c# which blocked me to get the success or failure result.
Any Help appreciated.
Replies
Know the answer? Post it — somebody with the same question will find it here.