package Ġcom . dic od ing jet pack pro . mov iec atalog ue . di Ċ Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . data . source . local . App Database Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . domain . use case . favorite . AddTo Favorite UseCase Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . domain . use case . favorite . Get F avorites UseCase Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . domain . use case . favorite . Get Is Favorite UseCase Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . domain . use case . favorite . Remove From Favorite UseCase Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . domain . use case . movie . Get Paged Movies UseCase Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . domain . use case . tv show . Get Paged Tv Shows UseCase Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . detail movie . Detail Movie ViewModel Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . detail tv show . Detail Tv Show ViewModel Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . favorite . AddTo Favorite UseCase Impl Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . favorite . Favorite ViewModel Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . favorite . Get F avorites UseCase Impl Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . favorite . Get Is Favorite UseCase Impl Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . favorite . Remove From Favorite UseCase Impl Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . movie . Get Paged Movies UseCase Impl Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . movie . Movie ViewModel Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . tv show . Get Paged Tv Shows UseCase Impl Ċ import Ġcom . dic od ing jet pack pro . mov iec atalog ue . presentation . tv show . Tv Show ViewModel Ċ import Ġorg . k oin . android . ext . k oin . android Application Ċ import Ġorg . k oin . android x . view model . dsl . viewModel Ċ import Ġorg . k oin . dsl . module Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġay db t iko Ġon Ġ 5 / 6 / 2 0 2 1 . Ċ Ġ*/ Ċ val Ġapp Module Ġ= Ġmodule Ġ{ ĊĠĠĠ Ġsingle Ġ{ ĠApp Database . create ( android Application ()) Ġ} ĊĠĠĠ Ġ// Ġuse case ĊĠĠĠ Ġsingle < Get Paged Movies UseCase > Ġ{ ĠGet Paged Movies UseCase Impl ( get ()) Ġ} ĊĠĠĠ Ġsingle < Get Paged Tv Shows UseCase > Ġ{ ĠGet Paged Tv Shows UseCase Impl ( get ()) Ġ} ĊĠĠĠ Ġsingle < AddTo Favorite UseCase > Ġ{ ĠAdd To Favorite UseCase Impl ( get ()) Ġ} ĊĠĠĠ Ġsingle < Get F avorites UseCase > Ġ{ ĠGet F avorites UseCase Impl ( get ()) Ġ} ĊĠĠĠ Ġsingle < Get Is Favorite UseCase > Ġ{ ĠGet Is Favorite UseCase Impl ( get ()) Ġ} ĊĠĠĠ Ġsingle < Remove From Favorite UseCase > Ġ{ ĠRemove From Favorite UseCase Impl ( get ()) Ġ} ĊĠĠĠ Ġ// Ġview Ġmodel ĊĠĠĠ ĠviewModel Ġ{ ĠMovie ViewModel ( get ()) Ġ} ĊĠĠĠ ĠviewModel Ġ{ ĠT v Show ViewModel ( get ()) Ġ} ĊĠĠĠ ĠviewModel Ġ{ ĠF avorite ViewModel ( get (), Ġget ()) Ġ} ĊĠĠĠ ĠviewModel Ġ{ ĠDetail Movie ViewModel ( get (), Ġget (), Ġget (), Ġget ()) Ġ} ĊĠĠĠ ĠviewModel Ġ{ ĠDetail Tv Show ViewModel ( get (), Ġget (), Ġget (), Ġget ()) Ġ} Ċ } Ċ