Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit 8b5051f

Browse files
authored
Update README.md
1 parent 3fcd33a commit 8b5051f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

demoProjects/ExamplesRecyclerView/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,44 @@ This uses a trick to have have the horizontal recycler view not get the vertical
218218
</tr>
219219
</table>
220220

221+
---------------------------
222+
223+
<table border="0">
224+
<tr>
225+
<td colspan="2"><b style="font-size:30px">This demos a recycler view expanding into detail view</b></td>
226+
</tr>
227+
<tr>
228+
<td>
229+
230+
<ul><li>
231+
232+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/recycler_to_detail.xml">layout/recycler_to_detail.xml</a> Top Level Layout
233+
</li><li>
234+
235+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/xml/recycler_to_detail_scene.xml">xml/recycler_to_detail_scene.xml</a> Top Level MotionScene with expansion to detail
236+
</li><li>
237+
238+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/java/com/example/motionrecycle/RecyclerToDetailView.java">RecyclerToDetailView.java</a> The activity, Adapter and ViewHolder
239+
240+
</li><li>
241+
242+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/recycler_to_detail_item.xml">layout/recycler_to_detail_item.xml</a> The recyclerView item
243+
244+
</li><li>
245+
246+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/xml/recycler_to_detail_item_scene.xml">xml/recycler_to_detail_item_scene.xml</a> The vertical recycler view item
221247

248+
</li></ul>
249+
The outer MotionLayout contains an include of a single inner MotionLayout.<br>
250+
This will be used in the detail expansion effect
251+
</td>
252+
<td>
253+
<img src="https://user-images.githubusercontent.com/15019413/200138139-496ed6eb-4a86-497b-940a-613dd16760bf.gif" alt="detail expansion recyclerviews"/>
254+
</td>
255+
</tr>
256+
</table>
222257

258+
223259

224260
## Contributing
225261

0 commit comments

Comments
 (0)