material-components / material-components/material-components-android
MaterialAlertDialogBuilder - prevent dismissing when positive, negative, or neutral button is click
Open
Nobody has claimed this yet.
feature request
Widget: Dialog
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to prevent the auto dismissal of alert dialog when the buttons are clicked? Providing a method in the builder class would be really great.
Contributor guide
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
Start by reviewing MaterialAlertDialogBuilder and how its positive, negative, and neutral buttons handle clicks and dismissal. Define a builder-level way to prevent automatic dismissal for those buttons, with completion shown by coverage for the requested button behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100