Class ConnectionFragment

  • public class ConnectionFragment
    extends Fragment
    Definition of the non-UI connection fragment. Handles network connectivity notifications. Embed this fragment in your activity or fragment and implement ConnectionFragment.ConnectionListener to get notified of connectivity events.

    Subscribe to toast events by implementing ConnectionFragment.ConnectionListener in the host or where this fragment is added.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static interface  ConnectionFragment.ConnectionListener
      Interface definition of a chat connection event listener.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void onAttach(Activity activity) 
      void onStart() 
      void onStop() 
      • Methods inherited from class java.lang.Object

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

      • ConnectionFragment

        public ConnectionFragment()
    • Method Detail

      • onAttach

        public void onAttach(Activity activity)
      • onStart

        public void onStart()
      • onStop

        public void onStop()