summaryrefslogtreecommitdiffstats
path: root/docs/html/preview/material/ui-widgets.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/preview/material/ui-widgets.jd')
-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 2d29420..69b7d2d 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<MyAdapter.ViewHolder> {
int viewType) {
// create a new view
View v = LayoutInflater.from(parent.getContext())
- .inflate(R.layout.my_text_view, parent);
+ .inflate(R.layout.my_text_view, parent, false);
// set the view's size, margins, paddings and layout parameters
...
ViewHolder vh = new ViewHolder(v);