package Ġorg . simple . clin ic . registration Ċ Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġio . reactivex . Single Ċ import Ġorg . simple . clin ic . registration . phone . In dian PhoneNumber Validator Ċ import Ġorg . simple . clin ic . registration . phone . PhoneNumber Validator Ċ import Ġretrofit 2 . Ret rofit Ċ Ċ @ Module Ċ open Ġclass ĠRegistration Module Ġ{ ĊĊĠ Ġ@ Provides ĊĠ Ġfun Ġregistration Api ( ret rofit : ĠRet rofit ): ĠRegistration Api V 1 Ġ{ ĊĠĠĠ Ġreturn Ġretrofit . create ( Registration Api V 1 :: class . java ) ĊĠ Ġ} ĊĊĠ Ġ@ Provides ĊĠ Ġopen Ġfun Ġregistration Config (): ĠSingle < Registration Config > Ġ{ ĊĠĠĠ Ġreturn ĠSingle . just ( Registration Config ( retry Back Off Delay In Minutes Ġ= Ġ 1 )) ĊĠ Ġ} ĊĊĠ Ġ@ Provides ĊĠ Ġopen Ġfun ĠphoneNumber Validator (): ĠPhone Number Validator Ġ{ ĊĠĠĠ Ġ// ĠIn Ġthe Ġfuture , Ġwe Ġwill Ġwant Ġto Ġreturn Ġa Ġvalidator Ġdepending Ġupon Ġthe Ġlocation . ĊĠĠĠ Ġreturn ĠIn dian PhoneNumber Validator () ĊĠ Ġ} Ċ } Ċ