package Ġbr . com . stic up . mv vm . repository . db Ċ Ċ 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 Ġbr . com . stic up . mv vm . repository . data . St icker Ċ import Ġio . reactivex . Single Ċ Ċ @ Dao Ċ interface ĠSt icker Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġst icker ") ĊĠĠĠ Ġfun Ġget St icker (): ĠSingle < List < St icker >> ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( st icker : ĠSt icker ) ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert All ( st icker : ĠList < St icker >) Ċ }