Home
last modified time | relevance | path

Searched refs:ViewHolder (Results 1 – 25 of 25) sorted by relevance

/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
DCustomAdapter.java30 public class CustomAdapter extends RecyclerView.Adapter<CustomAdapter.ViewHolder> {
39 public static class ViewHolder extends RecyclerView.ViewHolder { class in CustomAdapter
42 public ViewHolder(View v) { in ViewHolder() method in CustomAdapter.ViewHolder
72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder()
77 return new ViewHolder(v); in onCreateViewHolder()
84 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DPlanetAdapter.java30 public class PlanetAdapter extends RecyclerView.Adapter<PlanetAdapter.ViewHolder> {
44 public static class ViewHolder extends RecyclerView.ViewHolder { class in PlanetAdapter
47 public ViewHolder(TextView v) { in ViewHolder() method in PlanetAdapter.ViewHolder
59 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
63 return new ViewHolder(tv); in onCreateViewHolder()
67 public void onBindViewHolder(ViewHolder holder, final int position) { in onBindViewHolder()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DCustomRecyclerAdapter.java33 WearableRecyclerView.Adapter<CustomRecyclerAdapter.ViewHolder> {
48 public static class ViewHolder extends WearableRecyclerView.ViewHolder { class in CustomRecyclerAdapter
52 public ViewHolder(View view) { in ViewHolder() method in CustomRecyclerAdapter.ViewHolder
67 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder()
71 return new ViewHolder(view); in onCreateViewHolder()
75 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectoryEntryAdapter.java31 public class DirectoryEntryAdapter extends RecyclerView.Adapter<DirectoryEntryAdapter.ViewHolder> {
39 public static class ViewHolder extends RecyclerView.ViewHolder { class in DirectoryEntryAdapter
44 public ViewHolder(View v) { in ViewHolder() method in DirectoryEntryAdapter.ViewHolder
74 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder()
77 return new ViewHolder(v); in onCreateViewHolder()
81 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DDirectoryEntryAdapter.java17 public class DirectoryEntryAdapter extends RecyclerView.Adapter<DirectoryEntryAdapter.ViewHolder> {
30 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder()
33 return new ViewHolder(v); in onCreateViewHolder()
37 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
61 public class ViewHolder extends RecyclerView.ViewHolder { class in DirectoryEntryAdapter
67 public ViewHolder(View v) { in ViewHolder() method in DirectoryEntryAdapter.ViewHolder
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DUsageListAdapter.java35 public class UsageListAdapter extends RecyclerView.Adapter<UsageListAdapter.ViewHolder> {
43 public static class ViewHolder extends RecyclerView.ViewHolder { class in UsageListAdapter
48 public ViewHolder(View v) { in ViewHolder() method in UsageListAdapter.ViewHolder
72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder()
75 return new ViewHolder(v); in onCreateViewHolder()
79 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList14.java100 ViewHolder holder; in getView()
110 holder = new ViewHolder(); in getView()
118 holder = (ViewHolder) convertView.getTag(); in getView()
128 static class ViewHolder { class in List14.EfficientAdapter
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueAdapter.java45 private static class ViewHolder { class in QueueAdapter
52 ViewHolder holder; in getView()
57 holder = new ViewHolder(); in getView()
63 holder = (ViewHolder) convertView.getTag(); in getView()
DBrowseFragment.java175 static class ViewHolder { class in BrowseFragment.BrowseAdapter
184 ViewHolder holder; in getView()
189 holder = new ViewHolder(); in getView()
196 holder = (ViewHolder) convertView.getTag(); in getView()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/
DSpeedPickerListAdapter.java47 public static class ItemViewHolder extends WearableListView.ViewHolder {
62 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, in onCreateViewHolder()
73 public void onBindViewHolder(WearableListView.ViewHolder holder, in onBindViewHolder()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DMainActivity.java71 public void onClick(WearableListView.ViewHolder v) { in onClick()
89 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
90 return new WearableListView.ViewHolder( in onCreateViewHolder()
95 public void onBindViewHolder(WearableListView.ViewHolder holder, int position) { in onBindViewHolder()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/
DDataFragment.java74 ViewHolder holder; in getView()
76 holder = new ViewHolder(); in getView()
84 holder = (ViewHolder) convertView.getTag(); in getView()
92 private class ViewHolder { class in DataFragment.DataItemAdapter
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java137 private class AttractionAdapter extends RecyclerView.Adapter<ViewHolder>
150 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
153 return new ViewHolder(view, this); in onCreateViewHolder()
157 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
200 private static class ViewHolder extends RecyclerView.ViewHolder class in AttractionListFragment
209 public ViewHolder(View view, ItemClickListener itemClickListener) { in ViewHolder() method in AttractionListFragment.ViewHolder
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DSetTimerActivity.java99 public void onClick(WearableListView.ViewHolder holder) { in onClick()
199 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
200 return new WearableListView.ViewHolder( in onCreateViewHolder()
205 public void onBindViewHolder(WearableListView.ViewHolder holder, int position) { in onBindViewHolder()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java81 public void onClick(WearableListView.ViewHolder viewHolder) { in onClick()
164 public static class ItemViewHolder extends WearableListView.ViewHolder {
175 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
183 public void onBindViewHolder(WearableListView.ViewHolder holder, int position) { in onBindViewHolder()
DDigitalWatchFaceWearableConfigActivity.java127 public void onClick(WearableListView.ViewHolder viewHolder) { in onClick()
171 public void onBindViewHolder(WearableListView.ViewHolder holder, int position) { in onBindViewHolder()
290 private static class ColorItemViewHolder extends WearableListView.ViewHolder {
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceScanActivity.java224 ViewHolder viewHolder; in getView()
228 viewHolder = new ViewHolder(); in getView()
233 viewHolder = (ViewHolder) view.getTag(); in getView()
264 static class ViewHolder { class in DeviceScanActivity
/development/samples/browseable/RecyclerView/
D_index.jd10 their ViewHolder. The log also displays elements that you tap.
/development/apps/Development/src/com/android/development/
DAccountsTester.java107 class ViewHolder { class in AccountsTester.AccountArrayAdapter
117 ViewHolder holder; in getView()
127 holder = new ViewHolder(); in getView()
137 holder = (ViewHolder) convertView.getTag(); in getView()
253 AccountArrayAdapter.ViewHolder holder = in onCreateContextMenu()
254 (AccountArrayAdapter.ViewHolder)info.targetView.getTag(); in onCreateContextMenu()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DSpeedPickerActivity.java79 public void onClick(WearableListView.ViewHolder viewHolder) { in onClick()
/development/samples/ReceiveContentDemo/src/com/example/android/receivecontent/
DAttachmentsRecyclerViewAdapter.java34 static final class MyViewHolder extends RecyclerView.ViewHolder {
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java702 final ViewHolder holder = new ViewHolder(); in newView()
721 final ViewHolder holder = (ViewHolder) view.getTag(); in bindView()
841 private class ViewHolder { class in ContactsListFragment.ContactsAdapter
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java381 ViewHolder holder; in getView()
383 holder = new ViewHolder(); in getView()
391 holder = (ViewHolder) convertView.getTag(); in getView()
399 private class ViewHolder { class in MainActivity.DataItemAdapter
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DInlineAdapter.java91 public static class TaskViewHolder extends RecyclerView.ViewHolder {
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java110 public static class AlarmViewHolder extends RecyclerView.ViewHolder {