package Ġcom . sec . common . room Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . room . Database Ċ import Ġandroidx . room . Room Ċ import Ġandroidx . room . Room Database Ċ import Ġcom . sec . common . k tx . Singleton Holder Ċ import Ġcom . sec . common . room . dao . Account Dao Ċ import Ġcom . sec . common . room . entity . Account Entity Ċ Ċ @ Database ( ĊĠĠĠ Ġentities Ġ= Ġ[ Account Entity :: class ], ĊĠĠĠ Ġversion Ġ= Ġ 1 Ċ ) Ċ abstract Ġclass ĠF izz Database Ġ: ĠRoom Database () Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ: ĠSingleton Holder < F izz Database , ĠContext >({ ĊĠĠĠĠĠĠĠ ĠRoom . database Builder ( it . application Context , ĠF izz Database :: class . java , Ġ" f izz - refactor ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. fallback To Dest ruct ive Migration () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠ Ġ}) ĊĊĠĠĠ Ġabstract Ġfun Ġaccount Dao (): ĠAccount Dao Ċ }