↓ Skip to main content

Posts

Suspending over Views — Example

Suspending over Views — Example

·10 mins
Apply coroutines to a real-world TV show details UI problem where InboxRecyclerView expansions require synchronizing data loading, scrolling, and animations through suspending functions instead of nested callbacks
Suspending over Views

Suspending over Views

·10 mins
Harness Kotlin coroutines to write complex asynchronous UI operations synchronously, replacing callback-based View APIs like AnimatorListener and View.OnLayoutChangeListener with clean, readable suspending functions
Gesture Navigation: handling visual overlaps (II)

Gesture Navigation: handling visual overlaps (II) ↗ ↖

In part 1 of this series, we explored how you can make your app go ‘edge-to-edge’. Unfortunately this can result in some of your views being drawn behind the system bars, obscuring them from the user. This post explores how we can inset those views, moving them away from the system bars.
Data Binding — Lessons Learnt

Data Binding — Lessons Learnt

·8 mins
Discover best practices for using Android Data Binding Library effectively, including avoiding excessive binding adapters and optimizing custom bindings for performance