StoriesViewModel

class StoriesViewModel @Inject constructor(var userRepository: UserRepository, var properties: Properties, var repository: QuestRepository, var mapper: StoryMapper, var statusMapper: StatusMapper) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(userRepository: UserRepository, properties: Properties, repository: QuestRepository, mapper: StoryMapper, statusMapper: StatusMapper)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
fun selectStory(storyItem: StoryItem)
fun selectStory(storyId: Int, chapterId: Int, stageId: Int, isCurrent: Boolean = false)
Link copied to clipboard
fun updateData(): Job
Link copied to clipboard
fun updateStories(): Job