3 مستودعات
Techniques for managing background tasks and asynchronous data streams specifically for the Android platform.
Distinct from Android Network Programming: Existing candidates focus on network-specific programming or task managers, not the broader asynchronous programming paradigm on Android.
Explore 3 awesome GitHub repositories matching mobile development · Android Asynchronous Programming. Refine with filters or upvote what's useful.
This project is a sample library and implementation guide for using RxJava to manage asynchronous data streams and concurrent tasks in Android applications. It provides a collection of reference implementations for reactive programming, focusing on functional operators to transform and combine asynchronous data flows. The library demonstrates specific Android architectural patterns, such as implementing decoupled event buses for component communication and coordinating parallel network requests. It includes concrete examples of mobile-specific patterns including search input debouncing, list
Serves as a comprehensive guide for managing background tasks and asynchronous data streams in Android apps.
This repository is a collection of practical implementation patterns and reference samples for using RxJava 2 to manage asynchronous data streams in Android applications. It serves as a reactive programming implementation guide, providing code examples for handling complex event-driven logic and asynchronous patterns within mobile environments. The project distinguishes itself by providing specific reference implementations for common mobile challenges, such as real-time search with debouncing, on-demand list pagination for infinite scrolling, and cache-first data streaming to reduce perceive
Offers a library of asynchronous programming patterns for Android, including paginated lists and search debouncing.
يعمل هذا المستودع كمورد تعليمي لتنفيذ أنماط البرمجة غير المتزامنة في تطبيقات Android باستخدام Kotlin Coroutines و Flow. يوفر مجموعة من الأمثلة العملية واختبارات الوحدات المصممة لتوضيح كيفية إدارة مهام الخلفية، وطلبات الشبكة المتزامنة، وتدفقات البيانات التفاعلية مع الحفاظ على واجهة مستخدم متجاوبة. يركز المشروع على التزامن المهيكل (structured concurrency)، حيث يقدم أنماطاً لتنظيم المهام في نطاقات هرمية تقوم تلقائياً بنشر إشارات الإلغاء ودورة الحياة. ويؤكد على تكامل الشبكات المدركة لدورة الحياة، مما يضمن أن عمليات الخلفية وتدفقات البيانات التفاعلية تحترم حالة مكونات Android لمنع تسرب الذاكرة والأعطال. يغطي التنفيذ نطاقاً واسعاً من القدرات لبناء أنظمة بيانات مرنة، بما في ذلك استخدام العوامل الوظيفية لتحويل تسلسلات البيانات وتحويل التدفقات الباردة إلى حاويات حالة ساخنة. كما يوضح استراتيجيات للتعامل مع عمليات الشبكة، مثل تنفيذ عمليات إعادة المحاولة مع التراجع الأسي، وإدارة مهلات الطلبات، واستخدام التخزين المحلي للوصول إلى البيانات في وضع عدم الاتصال أولاً. يتضمن المستودع أنماط اختبار متخصصة للتحقق من صحة المنطق متعدد الخيوط والسلوك غير المتزامن.
Implements techniques for managing background tasks and asynchronous data streams specifically for the Android platform.