com.hedgehog.gdzietabiedra.appservice / ShopService
ShopService
class ShopService
(source)
Only class that provides access to Shops For the moment it’s used only to return Shops from ShopsRepository, but in future it might be used to manipulate data
Constructors
Name | Summary |
---|---|
<init> | ShopService(shopsRepository: ShopsRepository , distanceCalculator: DistanceCalculator ) Only class that provides access to Shops For the moment it’s used only to return Shops from ShopsRepository, but in future it might be used to manipulate data |
Functions
Name | Summary |
---|---|
getShopsByAddress | fun getShopsByAddress(address: String , location: Position ?): Flowable < Shop > |
getShopsInRange | fun getShopsInRange(location: Position ?, range: Double ): Flowable < Shop > |