Skip to content

Commit

Permalink
added notifyItemRangeInserted
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunalapk committed Oct 5, 2020
1 parent 54610b9 commit d14163d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ class SmartRecyclerView<T> : SwipeRefreshLayout {
customAdapter.notifyItemChanged(position)
}

fun notifyItemRangeInserted(position: Int,itemCount:Int){
customAdapter.notifyItemRangeInserted(position,itemCount)
}

fun notifyItemInserted(position: Int){
customAdapter.notifyItemInserted(position)
}
Expand Down

0 comments on commit d14163d

Please sign in to comment.