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

Big Nerd Ranch

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

Big Nerd Ranch

검색하기 폼
  • 분류 전체보기 (29)
    • Object Oriented Programming (4)
      • Design Patterns (0)
      • Refactoring (2)
      • Coding Practice 101 (2)
    • Android (15)
      • Litho (7)
      • Architecture Component (1)
      • Jetpack Compose (0)
    • Java (1)
    • Kotlin (7)
      • Coroutines (3)
      • Coroutine Context and Dispa.. (0)
      • Flow (1)
      • Kotlin Multipltaform (0)
    • VueJs (0)
    • Haskell (0)
    • Projects (0)
    • CICD (2)
      • Docker (0)
  • 방명록

Kotlin/Flow (1)
Debounce using Flow + collectLatest

Use case When we have filter/search functionality in our app, we often want to trigger an operation whenver user enters query in an EditText and we want to reduce network calls by using debouncing. Kotlin Flow supports debouce operation but it's still preview until 1.6. https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/debounce.html debounce debounce com..

Kotlin/Flow 2022. 3. 16. 10:09
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • security
  • SSL
  • litho
  • coroutines
  • kotlin
  • Android
more
«   2025/05   »
일 월 화 수 목 금 토
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 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바