diff options
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java b/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java new file mode 100644 index 00000000..0d23d29e --- /dev/null +++ b/src/main/java/de/thedevstack/conversationsplus/ui/UiCallback.java @@ -0,0 +1,11 @@ +package de.thedevstack.conversationsplus.ui; + +import android.app.PendingIntent; + +public interface UiCallback<T> { + public void success(T object); + + public void error(int errorCode, T object); + + public void userInputRequried(PendingIntent pi, T object); +} |