package Ġcom . rod rig ob res an . cache . category . dao Ċ Ċ 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 Ġcom . rod rig ob res an . cache . category . model . Category Cached Ċ Ċ @ Dao Ċ interface ĠCategory Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( category : ĠCategory Cached ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM ĠCategory ") ĊĠĠĠ Ġfun ĠgetAll () Ġ: ĠList < Category Cached > Ċ }