Interface IOnData<T>

Type Parameters:
T - the generic type

public interface IOnData<T>
The Interface IOnData.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String url, String error)
    On error.
    void
    onSuccess(String url, T data)
    On success.
  • Method Details

    • onError

      void onError(String url, String error)
      On error.
      Parameters:
      url - the url
      error - the error
    • onSuccess

      void onSuccess(String url, T data)
      On success.
      Parameters:
      url - the url
      data - the data