Class TasksFragment

    • Constructor Detail

      • TasksFragment

        public TasksFragment()
    • Method Detail

      • onCreate

        public void onCreate​(@Nullable
                             Bundle savedInstanceState)
        Task fragment is initialized.
        Overrides:
        onCreate in class Fragment
        Parameters:
        savedInstanceState - of Bundle
      • 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