package Ġcom . q ing me i 2 . sample . di Ċ Ċ import Ġcom . q ing me i 2 . sample . http . service . Login Service Ċ import Ġcom . q ing me i 2 . sample . http . service . Service Manager Ċ import Ġcom . q ing me i 2 . sample . http . service . UserService Ċ Ċ import Ġorg . kode in . di . K ode in Ċ import Ġorg . kode in . di . generic . bind Ċ import Ġorg . kode in . di . generic . instance Ċ import Ġorg . kode in . di . generic . singleton Ċ import Ġretrofit 2 . Ret rofit Ċ Ċ private Ġconst Ġval ĠSERVICE _ MODULE _ TAG Ġ= Ġ" service Module " Ċ Ċ val Ġservice Module Ġ= ĠK ode in . Module ( SERVICE _ MODULE _ TAG ) Ġ{ ĊĊĠĠĠ Ġbind < UserService >() Ġwith Ġsingleton Ġ{ ĊĠĠĠĠĠĠĠ Ġinstance < Ret rofit >(). create ( UserService :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġbind < Login Service >() Ġwith Ġsingleton Ġ{ ĊĠĠĠĠĠĠĠ Ġinstance < Ret rofit >(). create ( Login Service :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġbind < Service Manager >() Ġwith Ġsingleton Ġ{ ĊĠĠĠĠĠĠĠ ĠService Manager ( instance (), Ġinstance ()) ĊĠĠĠ Ġ} Ċ }