|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttv.ouya.console.api.CancelIgnoringOuyaResponseListener<T>
public abstract class CancelIgnoringOuyaResponseListener<T>
Utility base class for listeners that don't expect to receive cancel notifications or which don't have to do anything if the user clicks "Cancel." This class implements an empty onCancel() method so that you don't have to litter your code with onCancel() methods that will never be called.
Constructor Summary | |
---|---|
CancelIgnoringOuyaResponseListener()
|
Method Summary | |
---|---|
void |
onCancel()
Called when the user selects Cancel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface tv.ouya.console.api.OuyaResponseListener |
---|
onFailure, onSuccess |
Constructor Detail |
---|
public CancelIgnoringOuyaResponseListener()
Method Detail |
---|
public final void onCancel()
Note: onCancel() is final in order to prevent overriding, thereby forcing the use of a different Listener type if an inheriting class needs to do something when the user clicks "Cancel."
onCancel
in interface OuyaResponseListener<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |