package Ġsch alk er . data module . local Ċ Ċ import Ġandroid . arch . lifecycle . LiveData Ċ import Ġandroid . arch . persistence . room . Dao Ċ import Ġandroid . arch . persistence . room . Insert Ċ import Ġandroid . arch . persistence . room . On Conflict Strategy Ċ import Ġandroid . arch . persistence . room . Query Ċ import Ġsch alk er . data module . models . Hero Ċ Ċ @ Dao Ċ interface ĠHero es Dao Ġ{ ĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert Hero es ( var arg Ġhero es : ĠHero ) ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert Hero es ( hero es : ĠList < Hero >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġhero ") ĊĠĠĠ Ġfun ĠgetAll Hero es (): ĠLive Data < List < Hero >> Ċ }