Package openfoodfacts.github.scrachx.openfood.repositories

Types

Link copied to clipboard
@Singleton
class AllergenPreferencesRepository @Inject constructor(context: Context)
Link copied to clipboard
@Singleton
class HistoryRepository @Inject constructor(    context: Context,     daoSession: <Error class: unknown class>,     productRepository: ProductRepository,     localeManager: LocaleManager,     dispatchers: CoroutineDispatchers)
Link copied to clipboard
@Singleton
class NetworkConnectivityRepository @Inject constructor(context: Context)
Link copied to clipboard
@Singleton
class OfflineProductRepository @Inject constructor(    context: Context,     daoSession: <Error class: unknown class>,     installationService: InstallationService,     api: ProductsAPI)
Link copied to clipboard
@Singleton
class ProductRepository @Inject constructor(    context: Context,     daoSession: <Error class: unknown class>,     rawApi: ProductsAPI,     sentryAnalytics: SentryAnalytics,     localeManager: LocaleManager,     installationService: InstallationService)

API Client for all API callbacks

Link copied to clipboard
@Singleton
class RobotoffRepository @Inject constructor(context: Context, robotoffAPI: RobotoffAPI)
Link copied to clipboard
@Singleton
class ScannerPreferencesRepository @Inject constructor(context: Context)
Link copied to clipboard
@Singleton
class TaxonomiesManager @Inject constructor(context: Context)
Link copied to clipboard
@Singleton
class TaxonomiesRepository @Inject constructor(    context: Context,     daoSession: <Error class: unknown class>,     analysisDataApi: AnalysisDataAPI,     taxonomiesManager: TaxonomiesManager,     picasso: Picasso)

This is a repository class which implements repository interface.

Link copied to clipboard
sealed class Taxonomy<T : TaxonomyEntity>
Link copied to clipboard
@Singleton
class WikidataRepository @Inject constructor(wikidataAPI: WikidataAPI, dispatchers: CoroutineDispatchers)

API client to recieve data from WikiData APIs