package Ġxyz . team gravity . news app . view model Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room .* Ċ import Ġxyz . team gravity . news app . helper . constants . My Database Ċ import Ġxyz . team gravity . news app . model . Article Model Ċ Ċ @ Dao Ċ interface ĠNews Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert ( article : ĠArticle Model ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġsuspend Ġfun Ġdelete ( article : ĠArticle Model ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġ${ My Database . ARTIC LE _ TABLE }") ĊĠĠĠ Ġfun Ġget News (): ĠLive Data < List < Article Model >> Ċ }