notifyItemInserted

fun notifyItemInserted(position: Int)(source)

Notify any registered observers that the item reflected at position has been newly inserted. The item previously at position is now at position position + 1.

This is a structural change event. Representations of other existing items in the data set are still considered up to date and will not be rebound, though their positions may be altered.

Parameters

position

Position of the newly inserted item in the data set

See also