package Ġcom . robert lev ony an . demo . caching . common . di Ċ Ċ import Ġcom . robert lev ony an . demo . caching . Database Ċ import Ġcom . robert lev ony an . demo . caching . common . network . ApiService Ċ import Ġcom . robert lev ony an . demo . caching . common . network . Ret rofit Client Ċ import Ġcom . robert lev ony an . demo . caching . common . repository .* Ċ import Ġcom . robert lev ony an . demo . caching . common . view . Main ViewModel Ċ import Ġcom . robert lev ony an . demo . caching . common . view . object box . Object Box ViewModel Ċ import Ġcom . robert lev ony an . demo . caching . common . view . realm . Realm ViewModel Ċ import Ġcom . robert lev ony an . demo . caching . common . view . room . Room ViewModel Ċ import Ġcom . robert lev ony an . demo . caching . common . view . sql de light . Sql Del ight ViewModel Ċ import Ġcom . robert lev ony an . demo . caching . object box . Ob Movie Ċ import Ġcom . robert lev ony an . demo . caching . object box . Object Box Ċ import Ġcom . robert lev ony an . demo . caching . room . App Database Ċ import Ġcom . robert lev ony an . demo . caching . sql de light . Date Adapter Ċ import Ġcom . robert lev ony an . demo . caching . sql de light . Sql d Movie Ċ import Ġcom . squareup . sql de light . android . Android Sqlite Driver Ċ import Ġcom . squareup . sql de light . db . Sql Driver Ċ import Ġio . realm . Realm Ċ import Ġorg . k oin . android . ext . k oin . android Context Ċ import Ġorg . k oin . android x . view model . dsl . viewModel Ċ import Ġorg . k oin . dsl . module Ċ Ċ val Ġdi Module Ġ= Ġmodule Ġ{ ĊĠ Ġ// Ġretrofit ĊĠ Ġsingle < ApiService > Ġ{ ĠRet rofit Client . getClient (). create ( ApiService :: class . java ) Ġ} ĊĊĠ Ġ// Ġobject Ġbox ĊĠ Ġsingle Ġ{ ĠObject Box . box Store . box For ( Ob Movie :: class . java ) Ġ} ĊĊĠ Ġ// Ġrealm ĊĠ Ġsingle Ġ{ ĠRealm . getDefaultInstance () Ġ} ĊĊĠ Ġ// Ġroom ĊĠ Ġsingle Ġ{ ĠApp Database . getInstance ( get ()) Ġ} ĊĊĠ Ġsingle Ġ{ Ġget < App Database >(). movie Dao () Ġ} ĊĊĠ Ġ// Ġsql Ġde light ĊĠ Ġsingle < Sql Driver > Ġ{ ĠAndroid Sqlite Driver ( Database . Schema , Ġandroid Context (), Ġ" caching . db ") Ġ} ĊĊĠ Ġsingle Ġ{ ĠDatabase ( get (), ĠSql d Movie . Adapter ( Date Adapter ())) Ġ} ĊĊĠ Ġsingle Ġ{ Ġget < Database >(). movies Queries Ġ} ĊĊĠ Ġ// Ġrepositories ĊĠ Ġsingle Ġ{ ĠMovie Repository ( get ()) Ġ} ĊĊĠ Ġsingle Ġ{ ĠObject Box Repository ( get ()) Ġ} ĊĊĠ Ġsingle Ġ{ ĠRealm Repository ( get ()) Ġ} ĊĊĠ Ġsingle Ġ{ ĠRoom Repository ( get ()) Ġ} ĊĊĠ Ġsingle Ġ{ ĠSql Del ight Repository ( get ()) Ġ} ĊĊĠ Ġ// Ġview Ġmodel ĊĠ ĠviewModel Ġ{ ĠMain ViewModel ( get (), Ġget (), Ġget (), Ġget (), Ġget ()) Ġ} ĊĊĠ ĠviewModel Ġ{ ĠObject Box ViewModel ( get ()) Ġ} ĊĊĠ ĠviewModel Ġ{ ĠRealm ViewModel ( get ()) Ġ} ĊĊĠ ĠviewModel Ġ{ ĠRoom ViewModel ( get ()) Ġ} ĊĊĠ ĠviewModel Ġ{ ĠSql Del ight ViewModel ( get ()) Ġ} Ċ }