From 662cc7a46a44af782a1f697d16b0613498312e1f Mon Sep 17 00:00:00 2001 From: Scott Main Date: Mon, 17 Jan 2011 15:02:07 -0800 Subject: add javadoc for getView method Change-Id: Ia8d9516c4017319f8bcaedb3e4c451c5c3825857 --- core/java/android/app/Fragment.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/java/android/app/Fragment.java') diff --git a/core/java/android/app/Fragment.java b/core/java/android/app/Fragment.java index 316e513..3280b22 100644 --- a/core/java/android/app/Fragment.java +++ b/core/java/android/app/Fragment.java @@ -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; } -- cgit v1.1