CymChad / CymChad/BaseRecyclerViewAdapterHelper
异常上报:kotlin.UninitializedPropertyAccessException: lateinit property mEmptyLayout has not been initialized
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 24.6k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
如题,收集到异常kotlin.UninitializedPropertyAccessException: lateinit property mEmptyLayout has not been initialized,请问这个改如何解决呀?
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.
Research direction
No source file, reproduction steps, or test is provided. Start by searching the project for mEmptyLayout and inspect where it is initialized and accessed, then reproduce the reported UninitializedPropertyAccessException if possible. Done means the reported scenario no longer throws the exception, with a regression test if the behavior can be reproduced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100