diff --git a/smartrecyclerview/src/main/java/com/kunalapk/smartrecyclerview/view/SmartRecyclerView.kt b/smartrecyclerview/src/main/java/com/kunalapk/smartrecyclerview/view/SmartRecyclerView.kt index ce63f38..ba78223 100644 --- a/smartrecyclerview/src/main/java/com/kunalapk/smartrecyclerview/view/SmartRecyclerView.kt +++ b/smartrecyclerview/src/main/java/com/kunalapk/smartrecyclerview/view/SmartRecyclerView.kt @@ -101,6 +101,10 @@ class SmartRecyclerView : SwipeRefreshLayout { customAdapter.notifyItemChanged(position) } + fun notifyItemRangeInserted(position: Int,itemCount:Int){ + customAdapter.notifyItemRangeInserted(position,itemCount) + } + fun notifyItemInserted(position: Int){ customAdapter.notifyItemInserted(position) }