package Ġcom . the ath let ic . inter view . injection Ċ Ċ import Ġcom . the ath let ic . inter view . articles . data . Article Repository Ċ import Ġcom . the ath let ic . inter view . articles . data . remote . Article Api Ċ import Ġcom . the ath let ic . inter view . articles . ui . Article Detail Presenter Ċ import Ġcom . the ath let ic . inter view . articles . ui . Articles Presenter Ċ import Ġorg . k oin . android x . view model . dsl . viewModel Ċ import Ġorg . k oin . dsl . module Ċ import Ġretrofit 2 . Ret rofit Ċ import Ġretrofit 2 . converter . gson . Gson Converter Factory ĊĊ Ċ val Ġbase Module Ġ= Ġmodule Ġ{ ĊĠĠĠ Ġsingle Ġ{ ĊĠĠĠĠĠĠĠ ĠRet rofit . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. baseUrl (" https :// mobile - inter view - backend . the ath let ic . com /") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Converter Factory ( Gson Converter Factory . create ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfactory Ġ{ Ġget < Ret rofit >(). create ( Article Api :: class . java ) Ġ} ĊĊĠĠĠ Ġsingle Ġ{ ĠArticle Repository ( get ()) Ġ} ĊĊĠĠĠ ĠviewModel Ġ{ ĠArticles Presenter ( get ()) Ġ} ĊĠĠĠ ĠviewModel Ġ{ ĠArticle Detail Presenter ( get ()) Ġ} Ċ Ċ }