# 學習日記 Kotlin : 語言 MVVM : Model, View, ViewModel 架構,加以分離View,需DataBinding/LiveData減少程式碼數量 DataBinding : xml資料綁定,減少操作View事件的程式碼數量 LiveData : 具感知View生命週期的資料型態,以觀察者模式應用 (Observer Pattern) Dagger : 依賴關係注入(Dependency Injection) Retrofit : API連線的第三方套件,以OKHTTP為基底 RxJava/RxKotlin : ReactiveX 多執行緒套件,結合觀察者模式做應用 Room : 資料庫管理SQLite https://gitlab.in-mobile.asia:8081/lchuang/demovm https://github.com/lchuang8211/demovm demo 專案 # Complete Android Fragment & Activity Lifecycle https://github.com/OleksandrKucherenko/android-lifecycle/blob/master/README.md # kotlin https://dev.to/cassiozen/kotlin-for-js-devs-part-1-5bld kotlin part 1 https://dev.to/cassiozen/kotlin-for-js-devs-part-2-fam kotlin part 2 http://tw-hkt.blogspot.com/2018/11/kotlin_57.html Kotlin 線上教學課程 https://proandroiddev.com/the-kotlin-guide-for-the-busy-java-developer-93dde84a77b7 The Kotlin Guide for the Busy Java Developer https://try.kotlinlang.org/#/Examples/Hello,%20world!/Simplest%20version/Simplest%20version.kt 線上測試網頁 https://ironglion.com/archives/kotlin-recyclerview/ RecyclerView Practice ## 進階 Kotlin https://developer.android.com/topic/libraries/architecture/coroutines Kotlin coroutines # MVVM Model View ViewModel https://ithelp.ithome.com.tw/articles/10218263 ### ViewModel https://ithelp.ithome.com.tw/articles/10218506 ### DataBinding https://ithelp.ithome.com.tw/articles/10219729 ### LiveData https://ithelp.ithome.com.tw/articles/10222799 ### SQLite https://developer.android.com/topic/libraries/architecture/room https://ithelp.ithome.com.tw/articles/10223511 room ### github todo app https://github.com/android/architecture-samples guthub ### 整合實例運用 https://www.youtube.com/watch?v=ARpn-1FPNE4 Room + ViewModel + LiveData + RecyclerView (MVVM) ### RxJava/RxKotlin Async https://code.tutsplus.com/zh-hans/tutorials/kotlin-reactive-programming-with-rxjava-and-rxkotlin--cms-31577 Rx執行緒 # RxKotlin https://github.com/ReactiveX/RxKotlin Guthub https://www.youtube.com/watch?v=YPf6AYDaYf8 youtube : RX Java with Kotlin in Baby Steps # RxJava https://www.jb51.net/article/126567.htm 一篇文章就能了解Rxjava https://www.jianshu.com/p/ceead80495d0 RxJava 从入门到放弃再到不离不弃 https://blog.csdn.net/cunjie3951/article/details/106905985 使用RxJava和RxKotlin进行Kotlin反应式编程 Part 1. https://blog.csdn.net/cunjie3951/article/details/106906078?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.channel_param 适用于Android登录屏幕的Kotlin反应式编程 Part 2. https://ithelp.ithome.com.tw/articles/10197115 RxJava2 - 簡介 https://www.jianshu.com/p/3e5d53e891db RxJava线程切换——ObserveOn和SubscribeOn的区别 Thread 之間的切換 https://www.grahamlea.com/2014/07/rxjava-threading-examples/ RxJava Threading # Dagger https://dagger.dev/dev-guide/ Dagger https://proandroiddev.com/dagger-2-on-android-the-simple-way-f706a2c597e9 Dagger 2 on Android: The Simple Way https://android.jlelse.eu/practical-guide-to-dagger-76398948a2ea Practical guide to Dagger 2 https://android.jlelse.eu/android-mvvm-with-dagger-2-retrofit-rxjava-architecture-components-6f5da1a75135 Android MVVM with Dagger 2, Retrofit, RxJava, Architecture Components https://medium.com/@kazafchen/ioc-and-di-a-kotlin-example-d060380872fd 用Kotlin解釋依賴注入(DI)與控制反轉(IoC) https://stackoverflow.com/questions/30692501/dagger-2-injecting-android-context Dagger 2 injecting Android Context (to create RoomDataBase) https://ithelp.ithome.com.tw/articles/10194532 Dependency Injection with Dagger2: Part 1~4 # The Clean Code Blog https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html The Clean Architecture https://ithelp.ithome.com.tw/articles/10224386 Clean Architecture # RecyclerView + ImageView Banner https://codertw.com/android-%E9%96%8B%E7%99%BC/336907/ Android使用Recyclerview實現圖片水平自動迴圈滾動效果 https://my.oschina.net/tnjin/blog/619614 RecyclerView 實現跑馬燈效果 http://www.jeepxie.net/article/537902.html 自动滚动的RecyclerView # GitLab + SourceTree https://medium.com/raylee0527/%E6%95%99%E5%AD%B8-mac-gitlab-sourcetree-%E7%89%88%E6%9C%AC%E6%8E%A7%E7%AE%A1-%E8%A8%AD%E5%AE%9A%E6%95%99%E5%AD%B8-f82aed48ec2a [教學]Mac GitLab + SourceTree 版本控管 設定教學 # NestedScrollView 滑動頁面 + 置頂 https://blog.csdn.net/WHB20081815/article/details/94004008?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param Android NestedScrollView当下最流行的滚动视图+吸顶效果的实现最简单的方式 # youth Banner 套件 圖片輪播 https://github.com/youth5201314/banner Banner 2.0 圖片輪播 # View 的動畫 https://www.jianshu.com/p/b43cf452afc1 View.animate()动画ViewPropertyAnimator原理解析 https://wiki.jikexueyuan.com/project/android-animation/7.html ObjectAnimator 基本使用 # LayoutInflater https://blog.csdn.net/u012702547/article/details/52628453 LayoutInflater中inflate方法两个参数和三个参数的区别 # Gradle 相關 http://tw-hkt.blogspot.com/2018/12/proguard.html ProGuard 程式碼混淆保護 https://www.jianshu.com/p/a8614ff60647 Android aar中增加独立的混淆配置 https://developer.android.com/studio/build/shrink-code?hl=zh-cn Shrink, obfuscate, and optimize your app 縮小,混淆和優化您的 # 自動補齊後續程式碼 https://buzzorange.com/techorange/2019/08/02/nice-coding-tool/
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up