CacheModule

@Module
open class CacheModule

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Provides
open fun dataManager(context: Context): DataManager
Link copied to clipboard
@Provides
open fun getArticleCache(context: Context, gson: Gson): Cache<ArticleSimpleDto>
Link copied to clipboard
@Provides
open fun getItemsCache(context: Context, gson: Gson): Cache<ItemsContainer>
Link copied to clipboard
@Provides
open fun getNoteCache(context: Context, gson: Gson): Cache<NoteDto>
Link copied to clipboard
@Provides
open fun getProfileCache(context: Context, gson: Gson): Cache<Profile>
Link copied to clipboard
@Provides
open fun getSellerCache(context: Context, gson: Gson): Cache<SellerDto>
Link copied to clipboard
@Provides
open fun getStoriesCache(context: Context, gson: Gson): Cache<StoryDto>
Link copied to clipboard
@Provides
open fun getStoryDataCache(context: Context, gson: Gson): Cache<StoryData>
Link copied to clipboard
@Provides
open fun getSummaryCache(context: Context, gson: Gson): Cache<Summary>
Link copied to clipboard
@Provides
open fun getUserCache(context: Context, gson: Gson): Cache<UserDto>