-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add proposal for migrating AlertDialog #784
base: main
Are you sure you want to change the base?
Conversation
Some past works include: |
Proof-of-concept: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Just left minor questions to clarify the text
|
||
## Adoption strategy | ||
|
||
This introduces a subtle breaking change in the form of theme support changes. Theming is now applied via `alertDialogTheme`, not `android:alertDialogTheme`. We would have to include a blurb in the release about the theme changes and dropping support for `android.app.AlertDialog`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect the impact of this change will be minimal. I expect most of the brownfield users to use AppCompatActivity
already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also cc @javache as we discussed about Activity
vs AppCompatActivity
Add a release versioning strategy
Migrate to androidx.appcompat.app.AlertDialog
This proposal suggests migrating all existing uses of
android.app.AlertDialog
toandroidx.appcompat.app.AlertDialog
to add support library features. Currently, the two primary uses are in theAlertFragment
andDevSupportManagerBase
classes.