summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-01-17 15:02:07 -0800
committerScott Main <smain@google.com>2011-01-17 15:02:07 -0800
commit662cc7a46a44af782a1f697d16b0613498312e1f (patch)
tree6b34e46dae345792056f4d192f3b7011028c4aa4 /core
parenta43cfd2940d7c887a8130c0e972a1b398a887819 (diff)
downloadframeworks_base-662cc7a46a44af782a1f697d16b0613498312e1f.zip
frameworks_base-662cc7a46a44af782a1f697d16b0613498312e1f.tar.gz
frameworks_base-662cc7a46a44af782a1f697d16b0613498312e1f.tar.bz2
add javadoc for getView method
Change-Id: Ia8d9516c4017319f8bcaedb3e4c451c5c3825857
Diffstat (limited to 'core')
-rw-r--r--core/java/android/app/Fragment.java6
1 files changed, 6 insertions, 0 deletions
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;
}