public interface SuccessCallback<T>
Known subtypesCallback, CallbackAdapter
Simple interface that allows asynchronous code to perform a parameterized callback
in a similar way to GWT’s callback interface. This is the base interface for
com.codename1.util.Callback
where the logic is broken down to single method interfaces so Java 8 lambdas can be used.Methods
public abstract void onSucess(T value) | Invoked when the async method returns with a successful value |
Method details
onSucess
public abstract void onSucess(T value)Invoked when the async method returns with a successful value
Parameters
valueT- the value