Tag

Architecture Components

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Mar 23, 2022 · Mobile Development

A Comprehensive Guide to Android Jetpack and ViewBinding: Architecture, Components, and Practical Implementation

This article introduces Android Jetpack, explains its component categories, demonstrates the migration from findViewById to ViewBinding with step‑by‑step code examples for activities, fragments, dialogs, RecyclerView adapters, custom ViewGroups, and includes optimization patterns using generics and Kotlin delegates, while also revealing the underlying code‑generation process.

AndroidArchitecture ComponentsJetpack
0 likes · 14 min read
A Comprehensive Guide to Android Jetpack and ViewBinding: Architecture, Components, and Practical Implementation
Sohu Tech Products
Sohu Tech Products
Feb 10, 2021 · Mobile Development

Understanding Android Jetpack Lifecycle: Principles, Usage, and Source Code Analysis

This article introduces Android Jetpack and its Architecture Components, focuses on the Lifecycle library, demonstrates how to integrate it into activities and MVP architectures, explains the underlying source code including ReportFragment and LifecycleRegistry, and provides practical code examples for effective lifecycle management.

AndroidArchitecture ComponentsJetpack
0 likes · 32 min read
Understanding Android Jetpack Lifecycle: Principles, Usage, and Source Code Analysis
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
JD Retail Technology
JD Retail Technology
Jul 18, 2018 · Mobile Development

Understanding Android Paging Library: Architecture, Components, and Usage

This article explains the Android Paging Library introduced in Google I/O 2018, covering its background, architecture, core components such as DataSource and PagedList, loading flow, and step‑by‑step usage with Gradle, LiveData, and RecyclerView adapters for efficient pagination in mobile apps.

AndroidArchitecture ComponentsDataSource
0 likes · 9 min read
Understanding Android Paging Library: Architecture, Components, and Usage
JD Retail Technology
JD Retail Technology
Jul 14, 2018 · Mobile Development

A Simplified MVVM‑DataBinding Framework for Android Development

This article introduces a custom MVVM‑DataBinding framework for Android, explains its background, outlines the advantages of combining MVVM with DataBinding, provides detailed usage steps, implementation details, and discusses the framework’s benefits and potential pitfalls for mobile developers.

AndroidArchitecture ComponentsDataBinding
0 likes · 10 min read
A Simplified MVVM‑DataBinding Framework for Android Development
JD Retail Technology
JD Retail Technology
Jun 15, 2018 · Mobile Development

Practical Guide to Android Architecture Components: Lifecycles, LiveData, and ViewModel Integration

This article introduces Google’s Android Architecture Components—Lifecycle, LiveData, ViewModel, and Room—explaining their principles, how they simplify lifecycle management and data handling, and provides practical integration techniques and best‑practice guidelines for mobile developers.

AndroidArchitecture ComponentsLifecycle
0 likes · 10 min read
Practical Guide to Android Architecture Components: Lifecycles, LiveData, and ViewModel Integration