Tag

Jetpack

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2023 · Mobile Development

Understanding Android ViewModel: State Preservation, onRetainNonConfigurationInstance, and Implementation Details

This article explains how Android ViewModel preserves UI state across configuration changes, the role of SavedStateHandle and onRetainNonConfigurationInstance, the internal mechanisms involving ComponentActivity and ViewModelStore, and provides practical guidance on using factories, CreationExtras, and Hilt for custom ViewModel implementations.

AndroidJetpackSavedStateHandle
0 likes · 22 min read
Understanding Android ViewModel: State Preservation, onRetainNonConfigurationInstance, and Implementation Details
Sohu Tech Products
Sohu Tech Products
Feb 22, 2023 · Mobile Development

Introducing CameraViewfinder: Simplify Resizable Camera Preview on Android

This article explains how Android developers can use the new Jetpack CameraViewfinder component to implement reliable, resizable camera previews across diverse device form factors—including foldables and multi‑window modes—by adding the library, configuring layout XML, and handling surface requests with concise Kotlin code examples.

AndroidCamera2CameraViewfinder
0 likes · 7 min read
Introducing CameraViewfinder: Simplify Resizable Camera Preview on Android
Sohu Tech Products
Sohu Tech Products
May 18, 2022 · Mobile Development

Google I/O 2022 Highlights: AI, Android 13, Jetpack, Compose, and Flutter Updates

The article provides a comprehensive English recap of Google I/O 2022, covering AI enhancements across Google products, new Android 13 privacy features, expanded Jetpack libraries and Compose improvements, as well as Flutter 3's multi‑platform support and related ecosystem developments.

AIAndroidFlutter
0 likes · 13 min read
Google I/O 2022 Highlights: AI, Android 13, Jetpack, Compose, and Flutter Updates
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
Yuewen Technology
Yuewen Technology
Mar 13, 2021 · Mobile Development

How QDPaging Boosts Android App Performance with Preloading and State Management

This article explains how the QDPaging library, built on Android Jetpack Paging, addresses the limitations of Paging 2 and Paging 3 by providing efficient data preloading, state management, and memory control, resulting in significantly reduced loading wait times and smoother user experiences in mobile apps.

AndroidJetpackPaging
0 likes · 8 min read
How QDPaging Boosts Android App Performance with Preloading and State Management
Sohu Tech Products
Sohu Tech Products
Mar 3, 2021 · Mobile Development

Understanding Android Jetpack ViewModel: Concepts, Usage, and Source Code Analysis

This article explains the purpose and characteristics of Android Jetpack's ViewModel component, demonstrates how to use it with LiveData in Activities and Fragments, shows code examples for data sharing between fragments, and provides an in‑depth analysis of its internal source code and lifecycle handling.

AndroidJetpackLiveData
0 likes · 21 min read
Understanding Android Jetpack ViewModel: Concepts, Usage, and Source Code Analysis
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
Ctrip Technology
Ctrip Technology
Dec 3, 2020 · Mobile Development

Applying Kotlin Coroutines and Jetpack MVVM in Ctrip Flight App: Architecture, Implementation, and Production Challenges

This article explains how Ctrip's flight Android app refactored its home page using Kotlin coroutines, Jetpack AAC components, and MVVM architecture, detailing the technical and business background, code patterns, production issues, and lessons learned for large‑scale mobile development.

AndroidJetpackKotlin
0 likes · 20 min read
Applying Kotlin Coroutines and Jetpack MVVM in Ctrip Flight App: Architecture, Implementation, and Production Challenges
Jike Tech Team
Jike Tech Team
Oct 14, 2019 · Mobile Development

Master Android Permissions with Jetpack: Insights from Droidcon 2019

Hamber Luo, Android lead at Jike app, will present at Droidcon Shanghai 2019 on Android Jetpack Permissions, sharing his extensive Android experience, a code example, and practical advice for quickly adopting Jetpack and Kotlin in mobile development.

AndroidJetpackKotlin
0 likes · 4 min read
Master Android Permissions with Jetpack: Insights from Droidcon 2019
JD Retail Technology
JD Retail Technology
Jul 5, 2018 · Mobile Development

Android Navigation Component: Introduction, Usage, and Source Code Analysis

This article provides a comprehensive guide to Android's Navigation component, covering its purpose, setup steps, XML graph configuration, fragment navigation, data passing methods, deep link handling, nested navigation, and an analysis of the underlying source code with practical Kotlin examples.

AndroidDeepLinkFragment
0 likes · 11 min read
Android Navigation Component: Introduction, Usage, and Source Code Analysis
JD Tech
JD Tech
Jul 3, 2018 · Mobile Development

Understanding Android Jetpack Navigation: Setup, Usage, Data Passing, Deep Links, and Source Code Analysis

This article provides a comprehensive guide to Android Jetpack's Navigation component, covering its purpose, setup with Gradle, XML graph configuration, fragment navigation code, data passing methods, deep‑link handling, and an analysis of its underlying source classes such as NavHostFragment and NavController.

AndroidDeep LinkJetpack
0 likes · 13 min read
Understanding Android Jetpack Navigation: Setup, Usage, Data Passing, Deep Links, and Source Code Analysis