优化:避免 Room 主线程查询缓存 #345

This commit is contained in:
pppscn 2023-11-22 17:19:20 +08:00
parent 2eda4f567b
commit 7f4794e9ae
3 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@ import androidx.paging.PagingSource
import androidx.room.*
import androidx.sqlite.db.SupportSQLiteQuery
import com.idormy.sms.forwarder.database.entity.Frpc
import com.idormy.sms.forwarder.database.entity.Sender
import io.reactivex.Single
@Dao

View File

@ -4,7 +4,6 @@ import androidx.annotation.WorkerThread
import androidx.sqlite.db.SimpleSQLiteQuery
import com.idormy.sms.forwarder.database.dao.FrpcDao
import com.idormy.sms.forwarder.database.entity.Frpc
import com.idormy.sms.forwarder.database.entity.Sender
class FrpcRepository(
private val frpcDao: FrpcDao,

View File

@ -4,7 +4,6 @@ import androidx.annotation.WorkerThread
import androidx.sqlite.db.SimpleSQLiteQuery
import com.idormy.sms.forwarder.database.dao.RuleDao
import com.idormy.sms.forwarder.database.entity.Rule
import com.idormy.sms.forwarder.database.entity.Sender
class RuleRepository(
private val ruleDao: RuleDao,