Class ViewArticleActivity

    • Constructor Detail

      • ViewArticleActivity

        public ViewArticleActivity()
    • Method Detail

      • builder

        public static ArticleUiConfig.Builder builder(long articleId)
        Create a new builder for RequestActivity.
        Parameters:
        articleId - the id of the article to display
      • builder

        public static ArticleUiConfig.Builder builder()
        Create a new builder for RequestActivity.

        Only use this for creating a zendesk.commonui.UiConfig for ViewArticleActivity

      • onCreate

        protected void onCreate(Bundle savedInstanceState)
      • onStart

        protected void onStart()
      • onStop

        protected void onStop()
      • onOptionsItemSelected

        public boolean onOptionsItemSelected(MenuItem item)
      • setLoadingState

        protected void setLoadingState(zendesk.support.guide.ViewArticleActivity.LoadingState loadingState)
        Sets the loading state of this fragment.

        This controls the visibility of the views in this fragment and starts / stops progress indicators.

        Parameters:
        loadingState - The loading state to set.
      • onItemClick

        public void onItemClick(<any> parent,
                                View view,
                                int position,
                                long id)
      • onDestroy

        protected void onDestroy()