Package com.day.crx

Interface ObservableRepository


  • public interface ObservableRepository
    Marker interface for a Repository to indicate it allows observation of its life cycle events.
    • Method Detail

      • addListener

        void addListener​(RepositoryLifecycleListener listener)
        Register a listener interested in lifecycle events..
        Parameters:
        listener - listener to register.
      • removeListener

        void removeListener​(RepositoryLifecycleListener listener)
        Unregister a listener that was previously registered.
        Parameters:
        listener - listener to unregister.