Problems with RecyclerView Search with Room Database Kotliin
I have set up a Room Database in Kotlin that holds details of customers. This is then displayed in a RecyclerView with functionality to add, update and delete customers.
I have been trying for some time to add the functionality to search the database and get the recyclerview to change to only including letters and numbers that match the data of customers.
In Repository.kt I added a search function:
@WorkerThread
fun search(desc : String) : LiveData{
return...