Class GroupsFragment

    • Constructor Detail

      • GroupsFragment

        public GroupsFragment()
    • Method Detail

      • onCreateView

        @Nullable
        public View onCreateView​(LayoutInflater inflater,
                                 ViewGroup container,
                                 Bundle savedInstanceState)
        Called to have the fragment instantiate its user interface view
        Overrides:
        onCreateView in class Fragment
        Parameters:
        inflater - Instantiates a layout XML file into its corresponding View objects.
        container - The view group is the base class for layouts and views containers
        savedInstanceState - A mapping from String keys to various Parcelable values.
        Returns:
        returns a rectangular area on the screen and is responsible for drawing and event handling
      • onViewCreated

        public void onViewCreated​(View view,
                                  Bundle savedInstanceState)
        Called after onCreateView has returned, used to initialize subclasses before saved state is restored to view
        Overrides:
        onViewCreated in class Fragment
        Parameters:
        view - View is the base class for widgets, which are used to create interactive UI components
        savedInstanceState - A mapping from String keys to various Parcelable values
      • onGroupTasksClick

        public void onGroupTasksClick​(Group group)
        Helper method that passes group id to the viewholder.