package Ġcom . ra iden . data Ċ Ċ import Ġandroid . os . Environment Ċ import Ġandroidx . room . Room Ċ import Ġcom . ra iden . data . Data Base . DB _ NAME Ċ import Ġcom . ra iden . data . datas ources . database . App Database Ċ import Ġcom . ra iden . data . datas ources . device . applications . Device Applications Ċ import Ġcom . ra iden . data . datas ources . device . applications . Device Applications Impl Ċ import Ġcom . ra iden . data . datas ources . device . contacts . Device Contacts Ċ import Ġcom . ra iden . data . datas ources . device . contacts . Device Contacts Impl Ċ import Ġcom . ra iden . data . datas ources . device . files . Device Files Ċ import Ġcom . ra iden . data . datas ources . device . files . Device Files Impl Ċ import Ġcom . ra iden . data . datas ources . shared preferences . updated time . Updated SharedPreferences Ċ import Ġcom . ra iden . data . datas ources . shared preferences . updated time . Updated SharedPreferences Impl Ċ import Ġcom . ra iden . data . repositories . applications . Applications Repository Ċ import Ġcom . ra iden . data . repositories . contacts . Contacts Repository Ċ import Ġcom . ra iden . data . repositories . files . Files Repository Ċ import Ġcom . ra iden . data . repositories . upd time . Updated Time Repository Ċ import Ġcom . ra iden . domain . gate ways . Applications Gateway Ċ import Ġcom . ra iden . domain . gate ways . Contacts Gateway Ċ import Ġcom . ra iden . domain . gate ways . Files Gateway Ċ import Ġcom . ra iden . domain . gate ways . Updated Time Gateway Ċ import Ġorg . k oin . android . ext . k oin . android Application Ċ import Ġorg . k oin . dsl . module . module Ċ import Ġorg . k oin . experimental . builder . single By Ċ import Ġjava . io . File Ċ Ċ object ĠData Base Ġ{ ĊĠĠĠ Ġconst Ġval ĠDB _ NAME Ġ= Ġ" dip lom . db "; ĊĠĠĠ Ġconst Ġval ĠAP PS _ TABLE _ NAME Ġ= Ġ" apps " ĊĠĠĠ Ġconst Ġval ĠFILE S _ TABLE _ NAME Ġ= Ġ" files " ĊĠĠĠ Ġconst Ġval ĠCONT ACT S _ TABLE _ NAME Ġ= Ġ" contact ss " Ċ } Ċ Ċ val Ġdata Ġ= Ġmodule Ġ{ ĊĠĠĠ Ġsingle Ġ{ Ġandroid Application (). package Manager Ġ} ĊĠĠĠ Ġsingle Ġ{ ĠFile ( Environment . get External Storage Directory (). absolute Path ) Ġ} ĊĊĠĠĠ Ġsingle Ġ{ ĊĠĠĠĠĠĠĠ ĠRoom . database Builder ( android Application (), ĠApp Database :: class . java , ĠDB _ NAME ). build () ĊĠĠĠ Ġ} ĊĠĠĠ Ġsingle Ġ{ Ġget < App Database >(). get Applications Dao () Ġ} ĊĠĠĠ Ġsingle Ġ{ Ġget < App Database >(). get Files Dao () Ġ} ĊĠĠĠ Ġsingle Ġ{ Ġget < App Database >(). get Contacts Dao () Ġ} ĊĊĠĠĠ Ġsingle By < Applications Gateway , ĠApplications Repository >() ĊĠĠĠ Ġsingle By < Files Gateway , ĠFiles Repository >() ĊĠĠĠ Ġsingle By < Contacts Gateway , ĠContact s Repository >() ĊĠĠĠ Ġsingle By < Updated Time Gateway , ĠUpdated Time Repository >() ĊĊĠĠĠ Ġsingle By < Device Applications , ĠDevice Applications Impl >() ĊĠĠĠ Ġsingle By < Device Files , ĠDevice Files Impl >() ĊĠĠĠ Ġsingle By < Device Contacts , ĠDevice Contacts Impl >() ĊĊĠĠĠ Ġsingle By < Updated SharedPreferences , ĠUpdated SharedPreferences Impl >() Ċ }