`val listener: (Result, ChangeSet) -> Unit = { ...
# android
e
Copy code
val listener: (Result, ChangeSet) -> Unit = { realmResults, changeSet ->
    var query = ""
    if (searchTf != null) {
        query = searchTf.query.toString()
    }
    createList(query)
}
­čĹŹ 1