Package com.zendesk.sdk.support.help
Class SupportHelpFragment
- java.lang.Object
-
- Fragment
-
- com.zendesk.sdk.support.help.SupportHelpFragment
-
public class SupportHelpFragment extends FragmentA fragment to display Help content. The fragment is generally initialised with the static factory methodSupportHelpFragment.newInstance(SupportUiConfig)
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringLOG_TAG
-
Constructor Summary
Constructors Constructor and Description SupportHelpFragment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static SupportHelpFragmentnewInstance(SupportUiConfig supportUiConfig)voidonCreate(Bundle savedInstanceState)ViewonCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)voidsetPresenter(SupportMvp.Presenter presenter)Sets the presenter which is used to communicate with the containing Activity.
-
-
-
Field Detail
-
LOG_TAG
public static final java.lang.String LOG_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
setPresenter
public void setPresenter(SupportMvp.Presenter presenter)
Sets the presenter which is used to communicate with the containing Activity. This method is called when the Fragment is first created, and also when the Activity is recreated, as in an orientation change, since the Fragment is retained (seesetRetainInstance(true)inonCreate.- Parameters:
presenter- the presenter which is used to communicate with the containing Activity
-
onCreate
public void onCreate(Bundle savedInstanceState)
-
onCreateView
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
-
newInstance
public static SupportHelpFragment newInstance(SupportUiConfig supportUiConfig)
-
-