Tag: android
All the articles with the tag "android".
-
How Kotlin Flow Works Internally — Upstream, Downstream, and the Operator Chain
Understand how Kotlin Flow is built internally — the Function and Collector interfaces, upstream vs downstream, the operator chain, SAM interfaces, cold Flow, and single vs multiple emissions.
-
HTTP Read/Write Timeouts and OAuth 2.0 Explained
Understand the common misconception about read timeout — it is a per-chunk timer, not a total response timer — how write timeout works for uploads, and how OAuth 2.0 separates authentication from authorization to avoid sending credentials on every request.
-
Multipart Requests and Range Header — How Pause and Resume Downloads Work
Understand multipart HTTP requests for sending mixed content types in one POST, and how the Range header enables pause and resume downloads — the client tracks the last byte received and resumes from exactly that position.
-
Android BitmapPool and inBitmap: Eliminating GC-Caused UI Lag While Scrolling
Learn how BitmapPool and the inBitmap option eliminate the third image-loading problem — GC-caused UI freezes during RecyclerView scrolling — by reusing bitmap memory instead of allocating and discarding it.