Architecture de l'application

La conception d'une architecture d'applications est un élément important à prendre en compte pour assurer la robustesse, la testabilité et la gestion de vos applications. Android fournit un ensemble de bibliothèques et de composants vous permettant de créer votre application conformément aux bonnes pratiques.

Guides

Dernières actualités et vidéos

Updated 13 mars 2025

You can test a ViewModel by simply creating an instance using its constructor in your test code. However, this approach has limitations — there is no straightforward way to: With ViewModelScenario, these are now easy to test, helping you catch errors

Updated 3 septembre 2024

In Android 14 we introduced user-initiated data transfer jobs, or UIDT. You can use the new API setUserInitiated in JobScheduler to specify that the job is a user-initiated data transfer job. This API is helpful for use cases that require