package Ġcom . core will soft . posts . app . di Ċ Ċ import Ġcom . core will soft . posts . remote . comment . Comment Api Ċ import Ġcom . core will soft . posts . remote . post . Post Api Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġretrofit 2 . Ret rofit Ċ Ċ @ Module ( includes Ġ= Ġ[ RestClient Module :: class ]) Ċ class ĠService Api Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Post Api ( ret rofit : ĠRet rofit ) Ġ= Ġretrofit . create ( Post Api :: class . java ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Comment Api ( ret rofit : ĠRet rofit ) Ġ= Ġretrofit . create ( Comment Api :: class . java ) Ċ }