diff --git a/app/src/main/java/com/crazylegend/setofusefulkotlinextensions/MainAbstractActivity.kt b/app/src/main/java/com/crazylegend/setofusefulkotlinextensions/MainAbstractActivity.kt index 622d8c08f..e02c69e03 100644 --- a/app/src/main/java/com/crazylegend/setofusefulkotlinextensions/MainAbstractActivity.kt +++ b/app/src/main/java/com/crazylegend/setofusefulkotlinextensions/MainAbstractActivity.kt @@ -56,7 +56,8 @@ class MainAbstractActivity : AppCompatActivity() { } private val exampleGeneratedAdapter by lazy { - generateRecycler(TestViewHolderShimmer::class.java, + generateRecycler( + ::TestViewHolderShimmer, CustomizableCardViewBinding::inflate) { item, holder, _, _ -> holder.bind(item) }