fix pull issues

This commit is contained in:
Sergey Vlasenko 2024-04-10 17:39:24 +03:00
parent 0b42f2d33f
commit edbe507262
2 changed files with 0 additions and 14 deletions

View File

@ -92,19 +92,6 @@ open class DelegationListAdapter<TItem>(config: AsyncDifferConfig<TItem>) : Recy
submitList(list)
}
/**
* Submits a new list to be diffed, and displayed.
*
* The commit callback can be used to know when the List is committed, but note that it
* may not be executed. If List B is submitted immediately after List A, and is
* committed directly, the callback associated with List A will not be run.
*
* @param newList The new List.
* @param commitCallback Optional runnable that is executed when the List is committed, if
* it is committed.
*/
fun submitList(list: List<TItem>?, commitCallback: (() -> Unit)?) = differ.submitList(list, commitCallback)
/**
* Get the current List - any diffing to present this list has already been computed and
* dispatched via the ListUpdateCallback.

View File

@ -57,7 +57,6 @@ class LoadingContentView @JvmOverloads constructor(
errorRepeatButton.text = state.repeatButtonText
showChild(R.id.error_with_repeat)
}
else -> Unit
}
}
}