diff --git a/fastadapter/src/main/java/com/mikepenz/fastadapter/adapters/ItemFilter.kt b/fastadapter/src/main/java/com/mikepenz/fastadapter/adapters/ItemFilter.kt index 77d4186b9..c799f36f6 100644 --- a/fastadapter/src/main/java/com/mikepenz/fastadapter/adapters/ItemFilter.kt +++ b/fastadapter/src/main/java/com/mikepenz/fastadapter/adapters/ItemFilter.kt @@ -101,7 +101,7 @@ open class ItemFilter(private val itemAdapter: ModelA //only fire when we are filtered, not in onReset if (originalItems != null) { - itemFilterListener?.itemsFiltered(constraint, results.values as List) + itemFilterListener?.itemsFiltered(constraint, results.values as? List) } }