屏幕旋转或者折叠屏,会导致model为空,有什么方法可以解决。
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start at the GroupChatViewModel constructor shown in the issue and trace how its nullable GroupChatModel is provided during screen recreation. Reproduce the problem by rotating or folding the device, then inspect the Android lifecycle and injection path. Done means the model is available after recreation without breaking the chat screen.
Written by the indexing model from the issue text.
Description
GroupChatViewModel @Inject constructor(application: Application, model: GroupChatModel?)
- Dominant language
- Kotlin
- Stars
- 171
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from yetel/EasyChatAndroidClient
-
报错 Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
源代码缺少文件 Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
发现一些bug Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
yetel/EasyChatAndroidClient#2 · 1 comment ·
All issues in yetel/EasyChatAndroidClient
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Telegram !!! Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Xposed-Modules-Repo/com.fuck.iab#24 · 3 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
SimonHalvdansson/Harmonic-HN#361 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
johanhaleby/occurrent#1120 ·