Anyone knows if is possible create callbacks in Block, like java and objectioveC does?
In just one block I can send the callback funcion and receive when arrive
Example in Java:
thanks in advance!
In just one block I can send the callback funcion and receive when arrive
Example in Java:
B4X:
MyRequestFunction("http://....",new ICallbacks() {
@Override
public void onResponse(JSONObject response)
{
//Success !!!
}
@Override
public void onError(VolleyError response)
{
//Error !!!
}
});
thanks in advance!