kongzue / kongzue/DialogV3

BaseDialog闪退问题

Open
#200 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
158
PR merge metrics
No merged PRs in 30d

Description

使用的是Androidx的最新版本

#66707 java.lang.NullPointerException
Attempt to invoke virtual method 'void android.app.Dialog.setOnKeyListener(android.content.DialogInterface$OnKeyListener)' on a null object reference

com.kongzue.dialog.util.BaseDialog$2.onShow(BaseDialog.java:218)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting com.kongzue.dialog.util.BaseDialog.java around line 218 and trace the onShow callback that calls Dialog.setOnKeyListener. Reproduce the reported crash with the latest AndroidX version if possible; done means the BaseDialog flow no longer throws the reported NullPointerException.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.