Android 入门笔记(三):Loader

Android 入门笔记(三):Loader
AsyncTaskLoader is a better choice for Activity-bound thread management, because it handles lifecycle changes correctly, delivering the result to the current active activity, preventing duplication of background threads, and helping to eliminate duplication of zombie activities. Leveraging Loaders Steps: Create a Loader ID Fill-in Loader Callbacks Init Loader with LoaderManager Detail: 1. Create a constant int to uniquely identify the loader; Implement tne LoaderManager.LoaderCallbacks<>
Read more →

Android 入门笔记(二): Activity

Android 入门笔记(二): Activity
Activity and Intent An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View). While activities are often presented to the user as full-screen windows, they can also be used in other ways: as floating
Read more →

Android 入门笔记(一): RecyclerView

Android 入门笔记(一): RecyclerView
暑期生产实习选了 Android 开发项目,从未接触过Android开发,对Java也只是略知一二。花了大概一个星期学习 Android 基础知识,完成了Uda
Read more →

机器学习:Normal Equation 的理解

机器学习:Normal Equation 的理解
在机器学习中,Linear Regression有两种方法:梯度下降和 Normal Equation,对应到数学就是微积分和线性代数的知识。梯
Read more →

Nexus 体验 Google Pixel 及 Google Assistant

Nexus 体验 Google Pixel 及 Google Assistant
本文适用于Nexus 6、6p、5x等运行原生Android 7.0/7.1 系统的手机。 最近把手机刷到了 Android 7.0,看到有不少文章介绍 Google Pixel 以及 Google A
Read more →

读书笔记:《程序员的思维修炼》

读书笔记:《程序员的思维修炼》
这是我第二次拿起《程序员的思维修炼》,在Kindle里躺了好几个月,上次阅读是开学的火车上,看了30%就放一边了。五一又有机会在
Read more →