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

Commit e183d67

Browse files
authored
Update README.md
1 parent 99b7be2 commit e183d67

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

demoProjects/ExamplesRecyclerView/README.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,40 @@ https://user-images.githubusercontent.com/20599348/195418010-512859a1-8503-48e5-
103103

104104
-----------------------------
105105

106-
### Scroll locking during transition
106+
<table border="0">
107+
<tr>
108+
<td colspan="2"><b style="font-size:30px">Scroll locking during transition</b></td>
109+
110+
</tr>
111+
<tr>
112+
<td>
107113

108-
Demo of locking the RecyclerView during swipe
114+
<ul><li>
109115

110-
* [java code](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/java/com/example/motionrecycle/MotionRecycler1.java)
111-
* [layout](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/lock_recycler_item.xml)
112-
* [motion scene](https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/xml/lock_recycler_item_scene.xml)
116+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/java/com/example/motionrecycle/MotionRecycler1.java">CalendarRecycler2.java</a>
117+
the activy with RecyclerView Code
118+
</li><li>
113119

114-
![scrollLock](https://user-images.githubusercontent.com/15019413/196498539-b17683ac-84b7-495a-9242-103ede4440ec.gif)
120+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/layout/lock_recycler_item.xml">layout/lock_recycler_item.xml</a>
121+
basic layout with RecyclerView
122+
</li><li>
123+
124+
<a href="https://github.com/androidx/constraintlayout/blob/main/demoProjects/ExamplesRecyclerView/app/src/main/res/xml/lock_recycler_item_scene.xml">xml/lock_recycler_item_scene.xml</a>
125+
Motion Scene with Transition designed to bounce back
126+
</li></ul>
127+
128+
</td>
129+
<td>
130+
<img src="https://user-images.githubusercontent.com/15019413/196498539-b17683ac-84b7-495a-9242-103ede4440ec.gif" alt="recycler_ml"/>
131+
</td>
132+
</tr>
133+
</table>
134+
135+
136+
137+
### Locking the RecyclerView during swipe
115138

116-
#important code snipit
139+
important code snipit:
117140
```java
118141
TransitionAdapter adapter = new TransitionAdapter() {
119142
@Override

0 commit comments

Comments
 (0)