Package com.zopim.android.sdk.chatlog
Class ConnectionToastFragment
- java.lang.Object
-
- Fragment
-
- com.zopim.android.sdk.chatlog.ConnectionToastFragment
-
public class ConnectionToastFragment extends Fragment
Definition of the toast fragment. Handles network connectivity notifications. Embed this fragment in your activity or fragment to show toast message with network connectivity loss.This fragment embeds
Snackbar
behavior into the parent fragment. In order for it to push parent fragment view up as it presents itself the parent must wrap its layout inCoordinatorLayout
and define layout_behavior withCoordinatorLayout.Behavior
.- See Also:
PushViewBehavior
-
-
Constructor Summary
Constructors Constructor and Description ConnectionToastFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
onAttach(Activity activity)
void
onCreate(Bundle savedInstanceState)
void
onDestroy()
void
onStart()
void
onStop()
-