setUserList

private open fun <T : RefyItem?> setUserList(currentList: List<T>, newList: List<T>)

Method to set a user list

Parameters

currentList

: the current list of the user

newList

: the new list to set

<T>

: the RefyItem contained in the list