/* Ċ Ġ* ĠCopyright Ġ 2 0 1 9 Ġvm ad al in . com Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġcom . step ango . block me . feature . characters . favorite . impl . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . room . Room Ċ import Ġcom . step ango . block me . feature . characters . favorite . api . domain . repository . I Character Favorite Repository Ċ import Ġcom . step ango . block me . feature . characters . favorite . api . domain . use case . I Delete Character Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . api . domain . use case . I GetAll Characters Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . api . domain . use case . I Get Character Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . api . domain . use case . I Set Character Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . data . database . Mar vel Database Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . data . database . migrations . M IG RATION _ 1 _ 2 Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . data . repository . Character Favorite Repository Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . domain . use case . Delete Character Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . domain . use case . GetAll Characters Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . domain . use case . Get Character Favorite UseCase Ċ import Ġcom . step ango . block me . feature . characters . favorite . impl . domain . use case . Set Character Favorite UseCase Ċ import Ġdagger . Bind s Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ internal Ġabstract Ġclass ĠMar vel Module Ġ{ ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind s Character Favorite Repository ( ĊĠĠĠĠĠĠĠ Ġrepository : ĠCharacter Favorite Repository ĊĠĠĠ Ġ): ĠI Character Favorite Repository ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind s Get Character Favorite UseCase ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġuse Case : ĠGet Character Favorite UseCase ĊĠĠĠ Ġ): ĠI Get Character Favorite UseCase ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind s Set Character Favorite UseCase ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġuse Case : ĠSet Character Favorite UseCase ĊĠĠĠ Ġ): ĠI Set Character Favorite UseCase ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind s GetAll Characters Favorite UseCase ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġuse Case : ĠGetAll Characters Favorite UseCase ĊĠĠĠ Ġ): ĠI GetAll Characters Favorite UseCase ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind s Delete Character Favorite UseCase ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġuse Case : ĠDelete Character Favorite UseCase ĊĠĠĠ Ġ): ĠI Delete Character Favorite UseCase ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġ@ Singleton ĊĠĠĠĠĠĠĠ Ġ@ Provides ĊĠĠĠĠĠĠĠ Ġfun Ġprovide Mar vel Database ( context : ĠContext ) Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠRoom . database Builder ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcontext , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠMar vel Database :: class . java , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" characters - db " ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ). add Migrations ( M IG RATION _ 1 _ 2 ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠĠĠĠĠ Ġ@ Singleton ĊĠĠĠĠĠĠĠ Ġ@ Provides ĊĠĠĠĠĠĠĠ Ġfun Ġprovide Character Favorite Dao ( mar vel Database : ĠMar vel Database ) Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmar vel Database . character Favorite Dao () ĊĠĠĠ Ġ} Ċ } Ċ