Class ProfileObserver

  • All Implemented Interfaces:

    public abstract class ProfileObserver
    extends java.lang.Object
    implements java.util.Observer
    Abstract definition of the observer that listens to broadcasts from LivechatProfilePath observable
    • Constructor Summary

      Constructor and Description
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      void update(java.util.Observable observable, java.lang.Object object) 
      protected abstract void update(Profile profile)
      Delivers the broadcast from LivechatProfilePath observable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProfileObserver

        public ProfileObserver()
    • Method Detail

      • update

        public final void update(java.util.Observable observable,
                                 java.lang.Object object)
        Specified by:
        update in interface java.util.Observer
      • update

        protected abstract void update(Profile profile)
        Delivers the broadcast from LivechatProfilePath observable

        This broadcast arrives on a non-UI thread. Keep in mind that if updating UI elements you need to do so on the main thread using or android.os.Looper#getMainLooper().

        profile - of the current chat visitor