Home | History | Annotate | Download | only in material

Lines Matching full:recyclerview

9   <li><a href="#RecyclerView">Create Lists</a></li>
23 {@link android.support.v7.widget.RecyclerView} and {@link android.support.v7.widget.CardView}
27 <h2 id="RecyclerView">Create Lists</h2>
29 <p>The {@link android.support.v7.widget.RecyclerView} widget is a more advanced and flexible
32 {@link android.support.v7.widget.RecyclerView} widget when you have data collections whose elements
35 <p>The {@link android.support.v7.widget.RecyclerView} class simplifies the display and handling of
44 android.support.v7.widget.RecyclerView} widgets.</p>
46 <img src="{@docRoot}training/material/images/RecyclerView.png" alt="" width="550" height="106"/>
48 <strong>Figure 1</strong>. The <code>RecyclerView</code> widget.
51 <p>To use the {@link android.support.v7.widget.RecyclerView} widget, you have to specify an
53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter} class. The details
60 <strong>Figure 2</strong> - Lists with <code>RecyclerView</code>.
65 android.support.v7.widget.RecyclerView} and determines when to reuse item views that are no
71 <p>{@link android.support.v7.widget.RecyclerView} provides these built-in layout managers:</p>
81 android.support.v7.widget.RecyclerView.LayoutManager RecyclerView.LayoutManager} class.</p>
86 android.support.v7.widget.RecyclerView}. To customize these animations, extend the
87 {@link android.support.v7.widget.RecyclerView.ItemAnimator RecyclerView.ItemAnimator} class and use
88 the {@link android.support.v7.widget.RecyclerView#setItemAnimator RecyclerView.setItemAnimator()}
94 {@link android.support.v7.widget.RecyclerView} to a layout:</p>
97 &lt;!-- A RecyclerView with some commonly used attributes -->
98 &lt;android.support.v7.widget.RecyclerView
105 <p>Once you have added a {@link android.support.v7.widget.RecyclerView} widget to your layout,
111 private RecyclerView mRecyclerView;
112 private RecyclerView.Adapter mAdapter;
113 private RecyclerView.LayoutManager mLayoutManager;
119 mRecyclerView = (RecyclerView) findViewById(R.id.my_recycler_view);
122 // in content do not change the layout size of the RecyclerView
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {
149 public static class ViewHolder extends RecyclerView.ViewHolder {
254 <p>The {@link android.support.v7.widget.RecyclerView} and {@link android.support.v7.widget.CardView}
264 compile 'com.android.support:recyclerview-v7:21.0.+'