package Ġcom . ky aw hut . ats y cast . z cm . data . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . ky aw hut . ats y cast . z cm . Build Config Ċ import Ġcom . ky aw hut . ats y cast . z cm . data . network . ZC MA PI Ċ import Ġcom . ky aw hut . ats y cast . share . network . providers . create Service Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ import Ġdagger . h ilt . components . Singleton Component Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ Ġ* Ġ@ author Ġk yaw ht ut Ċ Ġ* Ġ@ date Ġ 9 / 1 0 / 2 1 Ċ Ġ*/ Ċ @ Module Ċ @ Install In ( Singleton Component :: class ) Ċ internal Ġobject ĠService Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide API (@ ApplicationContext Ġcontext : ĠContext ): ĠZ C MA PI Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcreate Service ( ZC MA PI :: class , ĠBuild Config . BASE _ URL , Ġcontext ) ĊĠĠĠ Ġ} Ċ } Ċ