Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6465299a authored by Aurimas Liutikas's avatar Aurimas Liutikas Committed by Android (Google) Code Review
Browse files

Merge "Clarify Fragment construtor javadoc."

parents fbd2d1d5 c59422a2
Loading
Loading
Loading
Loading
+5 −7
Original line number Original line Diff line number Diff line
@@ -574,13 +574,11 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
     * arguments can be supplied by the caller with {@link #setArguments}
     * arguments can be supplied by the caller with {@link #setArguments}
     * and later retrieved by the Fragment with {@link #getArguments}.
     * and later retrieved by the Fragment with {@link #getArguments}.
     *
     *
     * <p>Applications should generally not implement a constructor.  The
     * <p>Applications should generally not implement a constructor. Prefer
     * first place application code can run where the fragment is ready to
     * {@link #onAttach(Context)} instead. It is the first place application code can run where
     * be used is in {@link #onAttach(Activity)}, the point where the fragment
     * the fragment is ready to be used - the point where the fragment is actually associated with
     * is actually associated with its activity.  Some applications may also
     * its context. Some applications may also want to implement {@link #onInflate} to retrieve
     * want to implement {@link #onInflate} to retrieve attributes from a
     * attributes from a layout resource, although note this happens when the fragment is attached.
     * layout resource, though should take care here because this happens for
     * the fragment is attached to its activity.
     */
     */
    public Fragment() {
    public Fragment() {
    }
    }