Package-level declarations

Types

Link copied to clipboard
class ApiKeyInterceptor(apiKey: String) : Interceptor

Interceptor for adding the API key to the network requests.

Link copied to clipboard
interface AppContainer

Interface for the application container. It contains the repositories for the application.

Link copied to clipboard

Implementation of the CantEatRepository interface. It uses a local database and a remote API for managing CantEat data.

Link copied to clipboard
class CachingLikeRepository(likeDao: LikeDao, likeApiService: LikeApiService) : LikeRepository

Implementation of the LikeRepository interface. It uses a local database and a remote API for managing Like data.

Link copied to clipboard

Implementation of the RecipeRepository interface. It uses a local database and a remote API for managing Recipe data.

Link copied to clipboard

Interface for the CantEatRepository. It contains the methods for managing CantEat data.

Link copied to clipboard

Default implementation of the AppContainer interface. It sets up the network and database connections for the repositories.

Link copied to clipboard
interface LikeRepository

Interface for the LikeRepository. It contains the methods for managing Like data.

Link copied to clipboard

Interface for the RecipeRepository. It contains the methods for managing Recipe data.

Link copied to clipboard
class RetryCall<R>(delegate: Call<R>) : Call<R>

Call that delegates to another call and supports retrying API calls.

Link copied to clipboard
class RetryCallAdapter<R>(delegate: CallAdapter<R, *>) : CallAdapter<R, Any>

Call adapter that delegates to another call adapter and supports retrying API calls.

Link copied to clipboard
class RetryCallAdapterFactory : CallAdapter.Factory

Factory for creating call adapters that support retrying API calls.