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

Commit 15780f9

Browse files
authored
Update README.md
1 parent 932a96d commit 15780f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

demoProjects/ExamplesRecyclerView/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,20 @@ A key issue is that bind(...) is done before onAtach so custom atach may get con
121121

122122
https://user-images.githubusercontent.com/15019413/197657408-3b60f4d6-0e0b-4a00-b6ec-83ca6b6b5ac7.mp4
123123

124+
---------------------------
125+
### This demos having 2 recycler views one horizontal and one Veritcal
124126

127+
* [layout/recycler_two.xml](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/recycler_two.xml) - Top Level Layout
128+
* [xml/recycle_two_scene.xml](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/xml/recycle_two_scene.xml) - Top Level MotionScene
129+
* [TwoRecycler.java](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/java/com/example/motionrecycle/TwoRecycler.java)
130+
* [layout/row_item_horizontal.xml](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/row_item_horizontal.xml) - The horizontal recyclerView item
131+
* [layout/lock_recycler_item.xml](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/lock_recycler_item.xml) - The vertical recycler view item
132+
* [xml/lock_recycler_item_scene.xml](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/xml/lock_recycler_item_scene.xml)
125133

134+
This uses a trick to have have the horizontal recycler view not get the vertical strokes.
126135

127136

137+
![recyclerView_hv2](https://user-images.githubusercontent.com/15019413/199828729-d6a95d67-c85f-42b6-9b94-5ad4d55c0627.gif)
128138

129139

130140

0 commit comments

Comments
 (0)