package Ġorg . simple . clin ic . patient . sync Ċ Ċ import Ġcom . f 2 pr ate ek . rx . preferences 2 . Preference Ċ import Ġcom . f 2 pr ate ek . rx . preferences 2 . Rx SharedPreferences Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġorg . simple . clin ic . util . None Ċ import Ġorg . simple . clin ic . util . Optional Ċ import Ġorg . simple . clin ic . util . preference . Optional Rx Preferences Converter Ċ import Ġorg . simple . clin ic . util . preference . String Preference Converter Ċ import Ġretrofit 2 . Ret rofit Ċ import Ġjavax . inject . Named Ċ Ċ @ Module Ċ open Ġclass ĠPatient Sync Module Ġ{ ĊĊĠ Ġ@ Provides ĊĠ Ġfun Ġapi (@ Named (" for _ country ") Ġretrofit : ĠRet rofit ): ĠPatient Sync Api Ġ{ ĊĠĠĠ Ġreturn Ġretrofit . create ( Patient Sync Api :: class . java ) ĊĠ Ġ} ĊĊĠ Ġ@ Provides ĊĠ Ġ@ Named (" last _ patient _ pull _ token ") ĊĠ Ġfun Ġlast Pull Token ( rx Shared Prefs : ĠRx SharedPreferences ): ĠPreference < Optional < String >> Ġ{ ĊĠĠĠ Ġreturn Ġrx Shared Prefs . getObject (" last _ patient _ pull _ token _ v 3 ", ĠNone , ĠOptional Rx Preferences Converter ( String Preference Converter ())) ĊĠ Ġ} Ċ } Ċ