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

Commit f54df840 authored by Tim Hutt's avatar Tim Hutt
Browse files

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



Change-Id: I8414b7002af1a51a10db95758e36c471b51e6355
Signed-off-by: default avatarTim Hutt <tdhutt@gmail.com>
parent 7e007ff8
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}.
     *