package Ġcom . words . storage app . database Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room .* Ċ import Ġcom . words . storage app . database . model . Address Model Ċ Ċ @ Dao Ċ interface ĠAddress Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* FROM Ġaddress _ table ") ĊĠĠĠ Ġfun Ġget Address (): ĠLive Data < List < Address Model >> ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert Address ( address Model : ĠAddress Model ) ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġaddress _ table ") ĊĠĠĠ Ġfun Ġdelete Addresses () Ċ }