Skip to content

Conversation

Karakurik
Copy link
Owner

No description provided.

}
}
private val _cityId: MutableLiveData<Result<Int>> = MutableLiveData()
val cityId: LiveData<Result<Int>> = _cityId
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Когда Result оборачиваю в Event для singleLiveEvent, то даггер не может компилить, не смог разобраться почему так.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Проблема решена, использовал SingleLiveEvent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant