Kotlin PagedListAdapter trouble passing data

I'm writing paged list adapter that I update with diff utils.

As data I'm using bluetoot devices using this library https://github.com/OmarAflak/Bluetooth-Library

The problem is while creating LivePagedListBuilder This is the error message https://imgur.com/xP3ffI9

    fun getPairedDevices(): LiveData<PagedList<BluetoothDevice>> {
        if (devices == null){
            if (bluetooth.isEnabled){
                val pairedDevices = (bluetooth.pairedDevices)
                //There is a problem in this line
                devices = LivePagedListBuilder(pairedDevices, Paging.config).build()
        return devices!!