diff --git a/universal_adapter/src/main/java/com/yogeshpaliyal/universal_adapter/adapter/UniversalRecyclerAdapter.kt b/universal_adapter/src/main/java/com/yogeshpaliyal/universal_adapter/adapter/UniversalRecyclerAdapter.kt index 66c3046..b629374 100644 --- a/universal_adapter/src/main/java/com/yogeshpaliyal/universal_adapter/adapter/UniversalRecyclerAdapter.kt +++ b/universal_adapter/src/main/java/com/yogeshpaliyal/universal_adapter/adapter/UniversalRecyclerAdapter.kt @@ -115,6 +115,8 @@ class UniversalRecyclerAdapter constructor(val adapterBuilder: Builder) { listener = adapterBuilder.noData.listener, customBinding = adapterBuilder.noData.customBindingMapping ) + + adapterBuilder.data?.let { updateData(data = it) } } fun updateData(data: Resource?>) {