Class EditGroupFragment

    • Constructor Detail

      • EditGroupFragment

        public EditGroupFragment()
    • Method Detail

      • onCreateDialog

        @NonNull
        public Dialog onCreateDialog​(@Nullable
                                     Bundle savedInstanceState)
        Creates the pop up dialog for inputing group data.
        Overrides:
        onCreateDialog in class com.google.android.material.bottomsheet.BottomSheetDialogFragment
        Parameters:
        savedInstanceState - extends bundle to enable data to be written.
        Returns:
        the dialog for input
      • onCreateView

        @Nullable
        public View onCreateView​(@NonNull
                                 LayoutInflater inflater,
                                 @Nullable
                                 ViewGroup container,
                                 @Nullable
                                 Bundle savedInstanceState)
        Instantiates an XML layout.
        Overrides:
        onCreateView in class Fragment
        Parameters:
        inflater - to inflate the layout
        container - implements the view group
        savedInstanceState - extends the base bundle
        Returns:
        a rectangular area on the screen and is responsible for drawing and event handling
      • onViewCreated

        public void onViewCreated​(@NonNull
                                  View view,
                                  @Nullable
                                  Bundle savedInstanceState)
        Called immediately after onViewCreate.
        Overrides:
        onViewCreated in class Fragment
        Parameters:
        view - expands the layout and widgets
        savedInstanceState - extends teh base bundle
      • beforeTextChanged

        public void beforeTextChanged​(CharSequence s,
                                      int start,
                                      int count,
                                      int after)
        This method is called to notify you that, within s, the count characters beginning at start are about to be replaced by new text with length after.
        Specified by:
        beforeTextChanged in interface TextWatcher
        Parameters:
        s - for char sequence of data
        start - the count characters beginning at start
        count - the count of characters
        after - characters replaced by new text with length after
      • onTextChanged

        public void onTextChanged​(CharSequence s,
                                  int start,
                                  int before,
                                  int count)
        This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.
        Specified by:
        onTextChanged in interface TextWatcher
        Parameters:
        s - for char sequence of data
        start - the count characters beginning at start
        before - characters replaced old text that had length before
        count - of characters
      • afterTextChanged

        public void afterTextChanged​(Editable s)
        This method is called to notify you that, somewhere within s, the text has been changed.
        Specified by:
        afterTextChanged in interface TextWatcher
        Parameters:
        s - for char sequence of data