@@ -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()
154154ezMultipleLayout.layout1 = R .layout.sample_view_holder_layout_one
155155ezMultipleLayout.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()"
159159ezMultipleLayout.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
165165rvSample.setViewHolderLayout(ezMultipleLayout) { view: View , data: SampleData -> {} }
166166```
167167
0 commit comments