Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jun 25, 2024
1 parent 84c08a6 commit 74088bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ abstract class BaseRvPagingAdapter<M : IDiffVhModelType> private constructor(

override var list: List<M>
get() = snapshot().items
set(value) = error("You shouldn't call this setter. Use submitData() instead.")
set(_) = error("You shouldn't call this setter. Use submitData() instead.")

constructor(callback: DiffCallback<M> = DiffCallback()) : this(callback, IRvAdapterDelegate.Impl()) {
@Suppress("LeakingThis")
Expand Down

0 comments on commit 74088bb

Please sign in to comment.