Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow

  • Lukas Lechner - Advanced Android Development
  • 2022-12-06
  • 2131
collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow
  • ok logo

Скачать collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow

🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: https://www.lukaslechner.com/coroutin...

👨‍🎓 Here is the link to the Github Example Repository: https://github.com/LukasLechnerDev/Ko...

We need to use terminal operators in order to execute a flow and to receive the values that the flow emits.

These terminal operators are covered:
collect {} - receive all emissions of the flow
first() - returns only the first emission of the flow
last() - returns only the last emission of the flow
single() - returns single emission of a flow, but only if the flow only emits a single value, Otherwise - if the flow emits no values or multiple values - an Illegal state Exception is thrown
toList(), toSet() - operators wait until the flow completes and then all the emissions will be returned as a list or set
fold(), reduce() - to perform operations like summing up all of the emitted values of a flow

TimeStamps
00:00 - Course Info
00:40 - Flow vs Collections
03:15 - collect()
07:10 - first()
09:35 - last()
10:30 - single()
11:40 - toList(), toSet()
13:00 - fold()
15:35 - reduce()
15:50 - Summary

➤ Subscribe to the channel:    / @lukaslechner  

🌎 Check out my website: https://www.lukaslechner.com

📬 Subscribe to my newsletter: https://www.lukaslechner.com/newsletter/

➤ Follow me on twitter:   / lukaslechnerdev  

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]