package Ġcom . android . m ull ig an marker . database Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . room .* Ċ import Ġcom . android . m ull ig an marker . model . Player Ċ Ċ @ Dao Ċ interface ĠPlayer DAO Ġ{ ĊĊĠĠĠ Ġ@ Query (" Select Ġ* Ġfrom ĠPlayer Table ĠORDER ĠBY Ġplayer _ id ĠASC ") ĊĠĠĠ Ġfun ĠgetAll Players (): ĠLive Data < List < Player >> ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . IGNORE ) ĊĠĠĠ Ġsuspend Ġfun Ġadd Player ( player : ĠPlayer ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġsuspend Ġfun Ġdelete Player ( player : ĠPlayer ) Ċ }