Google官方Android开发资料整理之-App architecture(架构)
本章主要整理Goole官方提供的App architecture相关资源
App architecture | Android Developers (google.cn)
Guide to app architecture
Guide to app architecture | Android Developers (google.cn)
UI layer
Guide to app architecture | Android Developers (google.cn)
UI events | Android Developers (google.cn)
State holders and UI State | Android Developers (google.cn)
UI State production | Android Developers (google.cn)
Domain layer
Domain layer | Android Developers (google.cn)
Data layer
Data layer | An ...
Kotlin-Coroutines
本章整理Kotlin Coroutines(协程)的源码,API文档,以及Jetbrain官方文档,Google官方的Coroutine for Android文档资源。
源码
kotlinx.coroutines: Library support for Kotlin coroutines–源码
All modules (kotlinlang.org)–协程API
Jetbrain 官方
Coroutines guide | Kotlin Documentation (kotlinlang.org)
Coroutines basics | Kotlin Documentation (kotlinlang.org)
Coroutines and channels − tutorial | Kotlin Documentation (kotlinlang.org)
Cancellation and timeouts | Kotlin Documentation (kotlinlang.org)
Composing suspending functions | Kotlin Do ...
Google官方Android开发资料整理之-Jetpack Compose
Jetpack Compose is the modern toolkit for building native Android UI. Here’s where you’ll find the latest information about using Compose.
Overview: See all the resources available to Compose developers.
Tutorial: Get started with Compose, by using it to build a simple UI.
Foundation
Thinking in Compose: Learn how Compose’s declarative approach is different from the view-based approach you may have used in the past, and how to build a mental model of working with Compose.
Managing state: Lea ...
Google官方Android开发资料整理之-总汇
本篇为谷歌官方Android资料总汇篇。
Android Mobile App Developer Tools – Android Developers:Android开发主页
Developer guides | Android Developers:Android开发指引
Documentation | Android Developers:Android开发相关文档主页
Meet Android Studio | Android Developers:Android studio相关的文档集合
Android Jetpack Dev Resources - Android Developers:Jetpack相关文档
Kotlin and Android | Android Developers:Google官方Kotlin开发文档主页
Android Platform | Android Developers:Android各平台开发文档主页
Training Courses | Android Developers:Training文档主页
Distri ...
Google官方Android开发资料整理之-测试
本篇整理谷歌官方关于Android测试的资料
Write automated tests with UI Automator | Android Developers
Fundamentals
Fundamentals of testing Android apps | Android Developers
What to test in Android | Android Developers
Use test doubles in Android | Android Developers
Local tests
Build local unit tests | Android Developers
Instrumented tests
Build instrumented tests | Android Developers
Automate UI tests | Android Developers
AndroidX Test
Set up project for AndroidX Test | Android Developers
JUni ...
Google官方Android开发资料整理之-安全
本篇主要整理谷歌官方关于Android的安全资料
App security best practices | Android Developers
Security tips | Android Developers
Mitigate security risks in your app
Mitigate security risks in your app | Android Developers
Content resolvers | Android Developers
Intent redirection | Android Developers
Hardcoded Cryptographic Secrets | Android Developers
Log info disclosure | Android Developers
Path traversal | Android Developers
Pending intents | Android Developers
Sticky Broadcasts | Android Develo ...
Google官方Android开发资料整理之-性能优化详解
本篇整理谷歌官方关于Android开发性能的资料。
Guide to app performance | Android Developers
Inspecting performance
Inspecting performance | Android Developers
The Android Profiler | Android Developers
Profiling and tracing
System tracing
Overview of system tracing | Android Developers
Capture trace
The Android Profiler | Android Developers
Capture a system trace on a device | Android Developers
Capture a system trace on the command line | Android Developers
Navigate a Systrace report | Android Develo ...
Google官方Android开发资料整理之-性能优化工具使用
对于Android开发,谷歌的开发者网站非常友好,里面有非常全面的开发资料,其实很多博客的资料都是来源于官方,但是相对没有官方全面,因此为了系统的学习官方的资料,本篇开始整理官方的一些Android开发资料。
Google官方资料
Profile your app performance | Android Studio | Android Developers
Inspect CPU Activity
Inspect CPU activity with CPU Profiler | Android Studio | Android Developers
Record traces | Android Studio | Android Developers
Export traces | Android Studio | Android Developers
Import traces | Android Studio | Android Developers
Inspect traces | Android Studio | Android Devel ...
Android系统源码分析--View绘制流程之-inflate
上一章我们分析了Activity启动的时候调用setContentView加载布局的过程,但是分析过程中我们留了两个悬念,一个是将资源文件中的layout中xml布局文件通过inflate加载到Activity中的过程,另一个是开始测量、布局和绘制的过程,第二个我们放到measure过程中分析,这一篇先分析第一个inflate过程。
Android系统源码分析–View绘制流程之-setContentView
Android系统源码分析–View绘制流程之-inflate
Android系统源码分析–View绘制流程之-onMeasure
Android系统源码分析–View绘制流程之-onLayout
Android系统源码分析–View绘制流程之-onDraw
Android系统源码分析–View绘制流程之-硬件加速
Android系统源码分析–View绘制流程之-addView
Android系统源码分析–View绘制流程之-弹性效果
LayoutInflater.inflate方法基本上每个开发者都用过,也有很多开发者了解过它的两个方法的区别,也有一些开发者去研究过 ...
Android系统源码分析--View绘制流程之-setContentView
上一篇分析了四大组件之ContentProvider,这也是四大组件最后一个。因此,从这篇开始我们分析新的篇章–View绘制流程,View绘制流程在Android开发中占有非常重要的位置,只要有视图的显示,都离不开View的绘制,所以了解View绘制原理对于应用开发以及系统的学习至关重要。由于View绘制流程比较复杂,并且涉及的知识非常多,所以后面我会按照下面几方面来介绍View的绘制流程。每篇不是很长,但是尽量的详细,让每个人都看懂。
Android系统源码分析–View绘制流程之-setContentView
Android系统源码分析–View绘制流程之-inflate
Android系统源码分析–View绘制流程之-onMeasure
Android系统源码分析–View绘制流程之-onLayout
Android系统源码分析–View绘制流程之-onDraw
Android系统源码分析–View绘制流程之-硬件加速
Android系统源码分析–View绘制流程之-addView
Android系统源码分析–View绘制流程之-弹性效果
所以这篇我们先分析View绘 ...