pda
androidJvm
app
/
net.artux.pda.di
/
CacheModule
Cache
Module
@
Module
open
class
CacheModule
Members
Constructors
Cache
Module
Link copied to clipboard
constructor
(
)
Functions
data
Manager
Link copied to clipboard
@
Provides
open
fun
dataManager
(
context
:
Context
)
:
DataManager
get
Article
Cache
Link copied to clipboard
@
Provides
open
fun
getArticleCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
ArticleSimpleDto
>
get
Items
Cache
Link copied to clipboard
@
Provides
open
fun
getItemsCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
ItemsContainer
>
get
Note
Cache
Link copied to clipboard
@
Provides
open
fun
getNoteCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
NoteDto
>
get
Profile
Cache
Link copied to clipboard
@
Provides
open
fun
getProfileCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
Profile
>
get
Seller
Cache
Link copied to clipboard
@
Provides
open
fun
getSellerCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
SellerDto
>
get
Stories
Cache
Link copied to clipboard
@
Provides
open
fun
getStoriesCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
StoryDto
>
get
Story
Data
Cache
Link copied to clipboard
@
Provides
open
fun
getStoryDataCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
StoryData
>
get
Summary
Cache
Link copied to clipboard
@
Provides
open
fun
getSummaryCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
Summary
>
get
User
Cache
Link copied to clipboard
@
Provides
open
fun
getUserCache
(
context
:
Context
,
gson
:
Gson
)
:
Cache
<
UserDto
>