Androidx
According to the official documentation androidx is android.support.xxx finishing package product. Because of the support package before too confusing, so, google launched androidX. Because in subsequent releases, will gradually give up the upgrading and maintenance support, so we must migrate to androidX.
Summary: The new project can use, too much work in the transformation of the old project.
Reference: Android: Hello, androidX! Goodbye, android.support
DialogFragment instead of Dialog
DialogFragment advantages:
- Lifecycle Management
- Dialog EditText can copy and paste
Reference: two ways of DialogFragment
ConstraintLayout 2.0
advantage:
- Optimize the layout
- Flexible layout
- Delayering
- It comes with a very powerful
Reference: ConstraintLayout have 2.0, you do not look at it?