package Ġcom . yo es uv . inf om adi un . networks . db . dao Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . yo es uv . inf om adi un . menu . gallery . models . Gallery Model Ċ Ċ @ Dao Ċ interface ĠGallery Dao Access Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert Gallery ( gallery Model : ĠGallery Model ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġg all eries ") ĊĠĠĠ Ġsuspend Ġfun Ġg all eries (): ĠList < Gallery Model > ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġg all eries ") ĊĠĠĠ Ġsuspend Ġfun Ġdelete All Gallery () Ċ Ċ }