package Ġcom . e inv op os . rate me v rm use um . data . da os Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . e inv op os . rate me v rm use um . data . models . Ex hibit Ċ Ċ @ Dao Ċ interface ĠEx hibit Dao Ġ{ ĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġex hibit ") ĊĠĠĠ Ġfun Ġget Ex hib its (): ĠLive Data < Mutable List < Ex hibit >> ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert OrUpdate ( item : ĠList < Ex hibit >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġex hibit ĠWHERE Ġid Ġ= Ġ: ex hibit ") ĊĠĠĠ Ġfun Ġfind ById ( ex hibit Ġ: ĠLong ): ĠEx hibit Ċ }