package Ġcom . force . codes . project . app . data _ layer . resources . database Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġcom . force . codes . project . app . app . constants . Database Constants Ċ import Ġcom . force . codes . project . app . data _ layer . model . Primary Selected Ċ import Ġcom . force . codes . project . app . data _ layer . model . country . Country Details Ċ import Ġio . reactivex . Flow able Ċ Ċ @ Dao Ċ interface ĠListView Dao Ġ{ ĊĠ Ġ@ Query ( Database Constants . QUERY _ LIST _ VIEW _ DATA ) ĊĠ Ġfun Ġquery ListView By ( cases : ĠBoolean ): ĠFlow able < List < Country Details ?> ?> ĊĊĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠ Ġfun Ġinsert Selected ( selected : ĠPrimary Selected ?) Ċ }