android10 / android10/Android-CleanArchitecture-Kotlin

Configuration change is not handled

未關閉
#29 2 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
bug discussion
主要語言
Kotlin
星號
4.8k
分支
929
PR 合併指標
30 天內沒有已合併 PR

描述

Steps to reproduce:
1. Switch off network connection
2. Open the app, show "No network connection" snackbar
3. Switch on network connection
4. Click "Refresh", movies show up
5. Then rotate screen, "No network connection" snackbar is shown.

The cause perhaps is that the `MoviesViewModel` holds the previous `Failure` value during configuration change.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。