Class ContactZendeskFragment



  • public class ContactZendeskFragment
    extends Fragment
    This fragment will present a full (i.e. non dialog based) screen method of contacting Zendesk.

    The fragment will contribute a send icon to the parent activity. This send button will be enabled when there is at least one character entered.

    Please note that this fragment must be instantiated in code as it requires bundled arguments.

    • Field Detail

      • EXTRA_CONFIGURATION

        public static final java.lang.String EXTRA_CONFIGURATION
        See Also:
        Constant Field Values
      • EXTRA_CONFIGURATION_TAGS

        public static final java.lang.String EXTRA_CONFIGURATION_TAGS
        See Also:
        Constant Field Values
      • EXTRA_CONFIGURATION_ADDITIONAL_INFO

        public static final java.lang.String EXTRA_CONFIGURATION_ADDITIONAL_INFO
        See Also:
        Constant Field Values
      • EXTRA_CONFIGURATION_REQUEST_SUBJECT

        public static final java.lang.String EXTRA_CONFIGURATION_REQUEST_SUBJECT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContactZendeskFragment

        public ContactZendeskFragment()
    • Method Detail

      • onAttach

        public void onAttach(Context context)
      • onCreate

        public void onCreate(Bundle savedInstanceState)
      • onCreateView

        public View onCreateView(LayoutInflater inflater,
                                 ViewGroup container,
                                 Bundle savedInstanceState)
      • onCreateOptionsMenu

        public void onCreateOptionsMenu(Menu menu,
                                        MenuInflater inflater)
      • onPrepareOptionsMenu

        public void onPrepareOptionsMenu(Menu menu)
      • onOptionsItemSelected

        public boolean onOptionsItemSelected(MenuItem item)
      • onDetach

        public void onDetach()
      • onActivityResult

        public void onActivityResult(int requestCode,
                                     int resultCode,
                                     Intent data)
      • deleteUnusedAttachmentsBeforeShutdown

        public void deleteUnusedAttachmentsBeforeShutdown()
        Call this method before the host activity of this fragment gets destroyed. This will trigger the deletion of all unused uploaded images.
      • setFeedbackListener

        public void setFeedbackListener(SubmissionListener feedbackListener)
        Sets the feedback listener if you wish to be notified of feedback request creation or errors
        Parameters:
        feedbackListener - The submission listener
      • onDestroy

        public void onDestroy()