Home
last modified time | relevance | path

Searched refs:recyclerView (Results 1 – 5 of 5) sorted by relevance

/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DTreeFragment.java79 RecyclerView recyclerView = treeLayout.findViewById(R.id.tree_recycler); in onResumeHelper() local
83 displayRecycler(tasks, recyclerView); in onResumeHelper()
86 private void displayRecycler(List<Tracking.Task> tasks, RecyclerView recyclerView) { in displayRecycler() argument
87 recyclerView.setHasFixedSize(true); in displayRecycler()
88 recyclerView.setNestedScrollingEnabled(false); in displayRecycler()
90 recyclerView.setAdapter(adapter); in displayRecycler()
91 recyclerView.setLayoutManager( in displayRecycler()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DSchedulerFragment.java97 RecyclerView recyclerView = (RecyclerView) rootView.findViewById(R.id.recycler_view_alarms); in onViewCreated() local
98 recyclerView.setLayoutManager(new LinearLayoutManager(activity)); in onViewCreated()
99 recyclerView.setAdapter(mAlarmAdapter); in onViewCreated()
100 recyclerView.addItemDecoration(new AlarmAdapter.DividerItemDecoration(activity)); in onViewCreated()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java78 AttractionsRecyclerView recyclerView = in onCreateView() local
80 recyclerView.setEmptyView(view.findViewById(android.R.id.empty)); in onCreateView()
81 recyclerView.setHasFixedSize(true); in onCreateView()
82 recyclerView.setAdapter(mAdapter); in onCreateView()
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DScopedDirectoryAccessFragment.java155 RecyclerView recyclerView = (RecyclerView) rootView in onViewCreated() local
168 recyclerView.setAdapter(mAdapter); in onViewCreated()
169 recyclerView.setLayoutManager(new LinearLayoutManager(getActivity())); in onViewCreated()
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
DRecyclerViewFragment.java71 mRecyclerView = (RecyclerView) rootView.findViewById(R.id.recyclerView); in onCreateView()