summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-07-17 20:31:01 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-07-17 20:31:01 +0000
commit7a4253608397e647e2f04a1b14d0f02f3d695336 (patch)
tree502d3d9f98cc46017ec8aa0c1b7de23fd4feaae9 /docs
parent049cadd8c965ad69b875cd5ed7768c1b162acb39 (diff)
parent25303a980c026aab3ba0a01ce2a51122eb9982c2 (diff)
downloadframeworks_base-7a4253608397e647e2f04a1b14d0f02f3d695336.zip
frameworks_base-7a4253608397e647e2f04a1b14d0f02f3d695336.tar.gz
frameworks_base-7a4253608397e647e2f04a1b14d0f02f3d695336.tar.bz2
am 25303a98: Merge "docs: Fixed RecyclerView example. Bug: 15973665" into klp-modular-docs
* commit '25303a980c026aab3ba0a01ce2a51122eb9982c2': docs: Fixed RecyclerView example. Bug: 15973665
Diffstat (limited to 'docs')
-rw-r--r--docs/html/preview/material/ui-widgets.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/preview/material/ui-widgets.jd b/docs/html/preview/material/ui-widgets.jd
index 2266815..2d29420 100644
--- a/docs/html/preview/material/ui-widgets.jd
+++ b/docs/html/preview/material/ui-widgets.jd
@@ -132,7 +132,7 @@ public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {
int viewType) {
// create a new view
View v = LayoutInflater.from(parent.getContext())
- .inflate(R.layout.my_text_view, null);
+ .inflate(R.layout.my_text_view, parent);
// set the view's size, margins, paddings and layout parameters
...
ViewHolder vh = new ViewHolder(v);