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

Commit 9d547d69 authored by Romain Guy's avatar Romain Guy Committed by Gerrit Code Review
Browse files

Merge "Clarify ViewStub.setVisibility() documentation to state that it works after inflation."

parents 7a4d856c f54df840
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -212,7 +212,8 @@ public final class ViewStub extends View {
    /**
     * When visibility is set to {@link #VISIBLE} or {@link #INVISIBLE},
     * {@link #inflate()} is invoked and this StubbedView is replaced in its parent
     * by the inflated layout resource.
     * by the inflated layout resource. After that calls to this function are passed
     * through to the inflated view.
     *
     * @param visibility One of {@link #VISIBLE}, {@link #INVISIBLE}, or {@link #GONE}.
     *