From 056d4ef4e94fb253b10ded66cd58c820d41b755c Mon Sep 17 00:00:00 2001 From: songshicong <869759698@qq.com> Date: Sat, 8 Dec 2018 16:00:44 +0800 Subject: [PATCH] update --- README.md | 9 ++++- blogs/Activity.md | 38 +++++++++++++++++++ blogs/SQLite.md | 21 ++++++++++ ...redPreferences.md => SharedPreferences.md} | 0 4 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 blogs/Activity.md create mode 100644 blogs/SQLite.md rename blogs/{Android 持久化存储之 SharedPreferences.md => SharedPreferences.md} (100%) diff --git a/README.md b/README.md index e9f069c..b75ae82 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,12 @@ Android Notes 1. [WebView](https://github.com/Omooo/Android-Notes/blob/master/blogs/WebView.md) 2. [RecyclerView](https://github.com/Omooo/Android-Notes/blob/master/blogs/RecyclerView.md) -3. + +#### 常见知识点 + +1. Android 数据持久化 + - [SharedPreferences](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android%20%E6%8C%81%E4%B9%85%E5%8C%96%E5%AD%98%E5%82%A8%E4%B9%8B%20SharedPreferences.md) + - + + diff --git a/blogs/Activity.md b/blogs/Activity.md new file mode 100644 index 0000000..64e6405 --- /dev/null +++ b/blogs/Activity.md @@ -0,0 +1,38 @@ +--- +Activity +--- + +#### 目录 + +1. 思维导图 +2. 基本使用 + + - Activity 启动以及生命周期 + - Activity 启动 + - 显式启动 + - 隐式启动 + - 生命周期 + - 正常生命周期 + - 异常生命周期 + - 横竖屏切换 + - 异常退出 + - 启动模式 + - standard + - singleTop + - singleTask + - singleInstance + - 常用回调函数 + + - setResult / onActivityResult + + - onNewIntent + - onConfigurationChanged + - onSaveInstanceState / onRestoreInstanceState + - onTrimMemory + - 通信交互 + + - 与 Activity 通信 + - 与 Fragment 通信 + - 与 Service 通信 +3. 高级玩法 + - 根 Activity 启动流程 \ No newline at end of file diff --git a/blogs/SQLite.md b/blogs/SQLite.md new file mode 100644 index 0000000..d0baf75 --- /dev/null +++ b/blogs/SQLite.md @@ -0,0 +1,21 @@ +--- +Android 数据持久化之 SQLite +--- + +#### 目录 + +1. 思维导图 +2. SQLite + - 基本使用 + - SQLiteOpenHelper + - SQLiteDatabase + - 常见问题 + - 数据库升级 + - + - 优化建议 + - 事务 + - 建立索引 +3. 参考 + +#### 思维导图 + diff --git a/blogs/Android 持久化存储之 SharedPreferences.md b/blogs/SharedPreferences.md similarity index 100% rename from blogs/Android 持久化存储之 SharedPreferences.md rename to blogs/SharedPreferences.md