Created
May 12, 2012 12:23
-
-
Save LunNova/2666277 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface MFSCallback{ | |
| void onSuccess(Object data); | |
| void onError(Exception e); | |
| } | |
| //(EXAMPLE CALLS) | |
| mfs.getDB("DBname", new MFSCallback{void onSuccess(Object d){/*Do something with the data - you know what type it is already.*/} void onError(){/*Do something to handle the error.*/}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment