Tagged articles
2 articles
Page 1 of 1
Beike Product & Technology
Beike Product & Technology
Mar 21, 2019 · Mobile Development

Understanding LiveData and Event Bus Implementations in Android

This article examines Android message‑passing mechanisms, comparing traditional EventBus, RxBus, and Otto with the lifecycle‑aware LiveData‑based LiveEventBus, detailing their implementations, advantages, and how LiveData’s observe, observeForever, setValue, and postValue methods enable a memory‑leak‑free event bus for mobile development.

AndroidArchitecture ComponentsEventBus
0 likes · 12 min read
Understanding LiveData and Event Bus Implementations in Android
Meituan Technology Team
Meituan Technology Team
Jul 26, 2018 · Mobile Development

Why LiveDataBus Beats EventBus and RxBus for Android Message Passing

This article examines Android’s evolving message‑passing mechanisms, comparing traditional EventBus and RxBus with the newer LiveDataBus, detailing their architectures, code implementations, limitations such as pre‑subscription message delivery, and presents a refined LiveDataBus solution that leverages lifecycle‑aware LiveData to avoid memory leaks.

AndroidArchitecture ComponentsEventBus
0 likes · 21 min read
Why LiveDataBus Beats EventBus and RxBus for Android Message Passing