- 博客(9)
- 收藏
- 关注

原创 Android Developer Fundamentals
准备春招,重温 Android 这是一篇接下来的学习计划,使用的教程是Google Training courses。基本上是按着 CodeLab 一步一步做下来,CodeLab 里用的是 Java,我用的 Kotlin 。会对期间遇到问题和编程方法进行总结。 Unit1: Get started Lesson 1: Build your first app 1.1 Android St...
2018-11-16 16:58:57
398
原创 【Android 基础7.1 7.2】AsyncTask & AsyncTaskLoader
App Overview I Use Douban Api instead of Google Book Api for this demo. AsyncTask Inro AsyncTask is an abstract class, which means you must subclass it in order to use it. In this example the AsyncTa...
2018-11-24 17:23:20
307
原创 【Android 基础 5.1】Drawables, styles, and themes(夜间模式)
ShapeDrawable <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <stroke android:width="2dp" android:color="@col...
2018-11-18 20:12:50
259
原创 【Android 基础 4.3】Menu and pickers
Create menu for selected view A context menu allows users to take an action on a selected View. While the options menu in the app bar usually provides choices for navigation to another activity, you u...
2018-11-18 20:11:03
199
原创 【Android 基础 4.5】RecyclerView
2018-11-16 13:31:21 RecyclerView is a subclass of ViewGroup and is a more resource-efficient way to display scrollable lists. Instead of creating a View for each item that may or may not be visible ...
2018-11-16 17:11:05
241
原创 【Android 基础 3.3】Support libraries
2018-11-14 13:31:21 What you’ll learn How to indicate support library classes in your app. How to tell the difference between the values for compileSdkVersion, targetSdkVersion, and minSdkVersion. ...
2018-11-16 17:08:35
290
原创 【Android 基础 2.3】Implicit intents
2018-11-14 10:31:21 Introduction With an implicit intent, you active an activity without knowing which app or activity will handle the task. Conversely, your activity can declare one or more intent ...
2018-11-16 17:07:12
345
原创 【Android基础 2.1】Activities and intents
I’ll use English in following blogs, because it’s easy to copy and paste. lol. 2018-11-13 15:31:21 codelab An activity is started or activated with an intent. An Intent is an asynchronous message th...
2018-11-16 17:06:00
328
原创 【Android基础 1.3】Text and scrolling views
本次codelab 前几次的 codelab 都比较简单,都是基于 Layout Editor 的,控件拖来拖去,没啥好讲的。那么这次的主要内容的是 TextView 和 ScrollView。 ScrollView 提供了一个可以滚动的视图,它是 FrameLayout 的子类。ScrollView 只能有一个子 View,当然这个子 View 它本身可以是 ViewGroup(比如 Lin...
2018-11-16 16:55:35
253
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人