package Ġcom . sm ar Tech . assignment . main . repository . db . dao Ċ Ċ import Ġandroidx . paging . DataSource Ċ import Ġandroidx . room .* Ċ import Ġcom . sm ar Tech . assignment . main . model . GitHub Repo Ċ Ċ @ Dao Ċ interface Ġ ĠRe pos Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( repos Ġ: ĠList < GitHub Repo >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM ĠRe pos ") ĊĠĠĠ Ġfun ĠgetAll Repos () Ġ: ĠDataSource . Factory < Int , ĠGitHub Repo > Ċ } Ċ