Package com.zopim.android.sdk.chatlog
Class ConnectionFragment
- java.lang.Object
-
- Fragment
-
- com.zopim.android.sdk.chatlog.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 implementConnectionFragment.ConnectionListener
to get notified of connectivity events.Subscribe to toast events by implementing
ConnectionFragment.ConnectionListener
in the hostandroid.app.Activity
orandroid.support.v4.app.Fragment
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.
-
Constructor Summary
Constructors Constructor and Description ConnectionFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
onAttach(Activity activity)
void
onStart()
void
onStop()
-