package Ġnet . ys library . mon ot weet y . data . local Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . database . sqlite . SQLite Open Helper Ċ import Ġcom . pus ht o refresh . stor io . sqlite . St or IO SQLite Ċ import Ġcom . pus ht o refresh . stor io . sqlite . impl . Default St or IO SQLite Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġnet . ys library . mon ot weet y . base . di . App Scope Ċ import Ġnet . ys library . mon ot weet y . base . di . Names Ċ import Ġnet . ys library . mon ot weet y . data . user . User Ċ import Ġnet . ys library . mon ot weet y . data . user . local . resolver . User SQLite Type Mapping Ċ import Ġjavax . inject . Named Ċ Ċ @ Module Ċ class ĠLocal Module Ġ{ ĊĊĠ Ġ@ App Scope ĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide Db Open Helper (@ Named ( Names . FOR _ APP ) Ġcontext : ĠContext ): ĠSQLite Open Helper Ġ{ ĊĠĠĠ Ġreturn ĠDb Open Helper ( context ) ĊĠ Ġ} ĊĊĠ Ġ@ App Scope ĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide St or IO SQLite ( sq Lite Open Helper : ĠSQLite Open Helper ): ĠSt or IO SQLite Ġ{ ĊĠĠĠ Ġreturn ĠDefault St or IO SQLite . builder () ĊĠĠĠĠĠĠĠ Ġ. sqlite Open Helper ( sq Lite Open Helper ) ĊĠĠĠĠĠĠĠ Ġ. add Type Mapping ( User :: class . java , ĠUser SQLite Type Mapping ()) ĊĠĠĠĠĠĠĠ Ġ. build () ĊĠ Ġ} Ċ }