Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

屏幕旋转或者折叠屏,会导致model为空,有什么方法可以解决。

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yetel/EasyChatAndroidClient

All issues in yetel/EasyChatAndroidClient

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.