Package com.jummania

Interface DataManager.DataObserver

Enclosing interface:
DataManager

public static interface DataManager.DataObserver
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the data associated with a specific key has changed.
    void
    onError (Throwable error)
    Called when an error occurs while processing data.
  • Method Details

    • onDataChange

      void onDataChange (String key)
      Called when the data associated with a specific key has changed.
      Parameters:
      key - The key whose associated data has changed.
    • onError

      void onError (Throwable error)
      Called when an error occurs while processing data.
      Parameters:
      error - The exception or error encountered.