package Ġcom . ready . lol champ s . db Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . ready . lol champ s . model . Champ ion ĊĊ Ċ @ Dao Ċ interface ĠCh amp ion Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert Champ ion List ( champ ion List : ĠList < Champ ion >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM ĠCh amp ion ") ĊĠĠĠ Ġsuspend Ġfun ĠgetAll Champ ion List (): ĠList < Champ ion > Ċ }