دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Jomar Tigcal
سری:
ISBN (شابک) : 1801816247, 9781801816243
ناشر: Packt Publishing
سال نشر: 2022
تعداد صفحات: 0
زبان: English
فرمت فایل : RAR (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 11 مگابایت
در صورت تبدیل فایل کتاب Simplifying Android Development with Coroutines and Flows: Learn how to use Kotlin coroutines and the flow API to handle data streams asynchronously in your Android app به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب ساده کردن توسعه اندروید با Coroutines و Flow: یاد بگیرید که چگونه از کوروتین های Kotlin و API جریان برای مدیریت جریان های داده به صورت ناهمزمان در برنامه Android خود استفاده کنید. نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
با برنامهنویسی ناهمزمان در Android با استفاده از کدهای ساده، مدرن و قابل آزمایش از طریق کوروتینهای Kotlin و جریان آشنا شوید
کوروتینها و جریانها روش جدید توصیه شده برای توسعهدهندگان برای اجرای برنامهنویسی ناهمزمان در اندروید با استفاده از ساده و مدرن هستند. و کد قابل آزمایش این کتاب به شما یاد میدهد که کوروتینها و جریانها چگونه کار میکنند و چگونه از آنها در ساخت برنامههای اندرویدی استفاده کنید و به شما کمک میکند تا برنامههای اندرویدی مدرن را با برنامهنویسی ناهمزمان با استفاده از دادههای واقعی توسعه دهید.
این کتاب با نشان دادن نحوه ایجاد و مدیریت کوروتین های Kotlin در اندروید آغاز می شود. شما برنامه نویسی ناهمزمان را در Kotlin کاوش خواهید کرد و نحوه آزمایش کوروتین های Kotlin را درک خواهید کرد. در مرحله بعد، با جریانهای Kotlin در Android آشنا میشوید و با کنترل کردن لغو و استثناء جریان و آزمایش جریانها، نگاهی دقیقتر به استفاده از جریانهای Kotlin خواهید داشت.
در پایان این کتاب، مهارتهای لازم برای ساخت برنامههای Android با کیفیت بالا و قابل نگهداری با استفاده از کوروتینها و جریانها را خواهید داشت.
این کتاب برای توسعه دهندگان اندروید در سطح متوسط است که می خواهند مهارت های خود را در زمینه ساخت اپلیکیشن اندروید ارتقا دهند. برای استفاده حداکثری از این کتاب، آشنایی با توسعه اندروید و دانش اولیه کاتلین لازم است.
Get to grips with asynchronous programming in Android using simple, modern, and testable code through Kotlin coroutines and flow
Coroutines and flows are the new recommended way for developers to carry out asynchronous programming in Android using simple, modern, and testable code. This book will teach you how coroutines and flows work and how to use them in building Android applications, along with helping you to develop modern Android applications with asynchronous programming using real data.
The book begins by showing you how to create and handle Kotlin coroutines on Android. You'll explore asynchronous programming in Kotlin, and understand how to test Kotlin coroutines. Next, you'll learn about Kotlin flows on Android, and have a closer look at using Kotlin flows by getting to grips with handling flow cancellations and exceptions and testing the flows.
By the end of this book, you'll have the skills you need to build high-quality and maintainable Android applications using coroutines and flows.
This book is for intermediate-level Android developers who want to level up their Android app-building skills. Familiarity with Android development and basic knowledge of Kotlin are needed to make the most of this book.
Cover Title Copyright and Credits Foreword Table of Contents Part 1 – Kotlin Coroutines on Android Chapter 1: Introduction to Asynchronous Programming in Android Technical requirements Understanding asynchronous programming Exploring threads, AsyncTasks, and Executors Threads Callbacks AsyncTask Executors The new way to do it – coroutines and flows Kotlin coroutines Kotlin flows Summary Further reading Chapter 2: Understanding Kotlin Coroutines Technical requirements Creating coroutines in Android Exploring coroutine builders, scopes, and dispatchers Coroutine builders Coroutine scopes Coroutine dispatchers Understanding coroutine contexts and jobs Coroutine contexts Coroutine jobs Exercise – using coroutines in an Android app Summary Chapter 3: Handling Coroutine Cancellations and Exceptions Technical requirements Canceling coroutines Exercise 3.01 – canceling coroutines in an Android app Managing coroutine timeouts Catching exceptions in coroutines Exercise 3.02 – catching exceptions in your coroutines Summary Chapter 4: Testing Kotlin Coroutines Technical requirements Setting up an Android project for testing coroutines Unit testing suspending functions Testing coroutines Exercise 4.01 – adding tests to coroutines in an Android app Summary Further reading Part 2 – Kotlin Flows on Android Chapter 5: Using Kotlin Flows Technical requirements Using Flows in Android Creating Flows with Flow builders Using operators with Flows Collecting Flows with terminal operators Transforming Flows with Intermediate operators Buffering and combining flows Buffering Kotlin Flows Combining Flows Exploring StateFlow and SharedFlow Exercise 5.01 – Using Kotlin Flow in an Android app Summary Chapter 6: Handling Flow Cancellations and Exceptions Technical requirements Canceling Kotlin Flows Retrying tasks with Flow Catching exceptions in Flows Handling Flow completion Exercise 6.01 – Handling Flow exception in an Android app Summary Chapter 7: Testing Kotlin Flows Technical requirements Setting up an Android project for testing Flows Testing Kotlin Flows Testing Flows with Turbine Exercise 7.01 – Adding tests to Flows in an Android app Summary Index