بنية التطبيق

يُعد تصميم بنية التطبيق اعتبارًا مهمًا لضمان أن تكون تطبيقاتك قوية وقابلة للاختبار وقابلة للصيانة. يوفر Android مجموعة من المكتبات والمكونات لمساعدتك في تجميع التطبيق وفقًا لأفضل الممارسات.

الأدلّة

آخر الأخبار والفيديوهات

Updated 13 مارس 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 سبتمبر 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