Skip to content

Commit 38ca02d

Browse files
authored
Update README.md
1 parent cb79782 commit 38ca02d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ private fun exampleEzRecycleMultipleLayout() {
114114
rvSample.setLayout1(R.layout.sample_view_holder_layout_one)
115115
rvSample.setLayout2(R.layout.sample_view_holder_layout_two)
116116

117-
// set custom shimmer effect after that, bind the shimmer view layout by R.id.<shimmer_view_id> from R.layout.<your_shimmer_layout>
118-
// and set into "ezMultipleLayout" with method "setCustomShimmerLayout()"
117+
// set custom shimmer effect after that, bind the shimmer view id by R.id.<shimmer_view_id> from R.layout.<your_shimmer_layout>
118+
// and set into layout with method "setCustomShimmerLayout()"
119119
rvSample.setCustomShimmerLayout(
120120
R.layout.sample_custom_shimmer_effect,
121121
R.id.sample_shimmer_view_id
@@ -154,14 +154,14 @@ val ezMultipleLayout = EzMultipleLayout()
154154
ezMultipleLayout.layout1 = R.layout.sample_view_holder_layout_one
155155
ezMultipleLayout.layout2 = R.layout.sample_view_holder_layout_two
156156

157-
// custom shimmer effect after that, bind the shimmer view layout by R.id.<shimmer_view_id> from R.layout.<your_shimmer_layout>
157+
// custom shimmer effect after that, bind the shimmer view id by R.id.<shimmer_view_id> from R.layout.<your_shimmer_layout>
158158
// and set into "ezMultipleLayout" with method "setCustomShimmerLayout()"
159159
ezMultipleLayout.setCustomShimmerLayout(
160160
R.layout.sample_custom_shimmer_effect,
161161
R.id.sample_shimmer_view_id
162162
)
163163

164-
// store "ezMultipleLayout" into param of "setViewHolderLayout()" and implement callback bindViewHolder
164+
// store "ezMultipleLayout" into param of "setViewHolderLayout()" and implement callback/listener in bindViewHolder
165165
rvSample.setViewHolderLayout(ezMultipleLayout) { view: View, data: SampleData -> {} }
166166
```
167167

0 commit comments

Comments
 (0)