본문 바로가기 메뉴 바로가기

Летучий программист

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Летучий программист

검색하기 폼
  • 분류 전체보기 (67)
    • Languages (1)
      • Python (0)
      • Kotlin (1)
      • Dart (0)
    • Server (10)
      • Spring (1)
      • PHP (3)
      • DB (0)
      • ETC (4)
      • Django (1)
      • AWS (1)
    • App (47)
      • Flutter (27)
      • Android Native (20)
      • General (0)
    • 그 외 (9)
      • CS (1)
      • SCM (1)
      • ETC (0)
  • 방명록

KotlinFlow (2)
Flow/Coroutines in Android/Kotlin

collect() != collectLatest() collect() => It collects every value that theoriginal flow emits and it is recommended to use when all received data should be processed. collectLatest() => It collects every value, but stops to work for the previous value when the original flow emits a new value. It is fairly for the case when the latest data should be processed. val countFlow = flow { val startingV..

App/Android Native 2023. 5. 11. 12:06
KOTLIN - Flows

Flow ♾️ поток из нескольких эленментов включая конечные и бесконечные Operators (терминальные и НЕтерминальные) - map: преобразует Flow в Flow - filter: фильтрует элементы, не соответствующие условию - drop: отбрасыват первые N элементов - take: берет первые N элементов ⚡Терминальные операторы 1) выполняют Cold Flows или 2) подписываются на Hot Flows Cold Flows - в неактивном состоянии + ленивая..

App/Android Native 2022. 1. 10. 01:34
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • AndroidWirelessDebug
  • querydslQclass
  • KotlinFlow
  • querydsl5.0.0jakarta
  • flutter_storage_not_working_for_the_first_time
  • android_app_link_domain_works_with_adb_but_not_works_with_browser
  • FlutterWirelessDebuginAOS
  • android_app_links_domain
  • unsplashAPI
  • MultipleFirebaseEnvironments
  • flutter
  • laravel9
  • android_app_links
  • phplaravel
  • android_domain
  • FirebaseConfigurationForMultipleBuildTypes
  • flutter_secure_storage_issue_iOS
  • mvvm
  • retrofit_generator_conflicts_with_freezed
  • Kotlin
  • Laravel
  • RunAFlutterProjectIniPhoneFromVSCode
  • dagger-hilt
  • WirelessDebug
  • querydslKotlinError
  • retrofit_toJson()_error
  • futter_api
  • flutter_android_app_links
  • retrofit_generator
  • Android
more
«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바