add javadoc for getView method

Change-Id: Ia8d9516c4017319f8bcaedb3e4c451c5c3825857
This commit is contained in:
Scott Main
2011-01-17 15:02:07 -08:00
parent a43cfd2940
commit 662cc7a46a

View File

@@ -912,6 +912,12 @@ public class Fragment implements ComponentCallbacks, OnCreateContextMenuListener
return null;
}
/**
* Get the root view for the fragment's layout (the one returned by {@link #onCreateView}),
* if provided.
*
* @return The fragment's root view, or null if it has no layout.
*/
public View getView() {
return mView;
}