android-basics-kotlin/course 並行処理以降のチュートリアルで気になったこと

チュートリアルへの入り口

Android Basics in Kotlin course  |  Kotlin を用いた Android の基本

we don't recommend working with threads directly.

Introduction to coroutines  |  Android Developers

Performance issues, race conditions, and hard to reproduce bugs are some of the reasons why we don't recommend working with threads directly.

viewModelScope.launch

Import androidx.lifecycle.viewModelScope and kotlinx.coroutines.launch when prompted.

他の言語ではみたことない

Kotlin convention for properties use upper and lowercase letters ("camel case").

Get data from the internet  |  Android Developers

jsonのキーがスネークケースの場合に変換するかしないか問題の時に指針になりそう

for best network and CPU performance, you might want to fetch and decode more than one image at once.

CPUパフォーマンスにもいいのか。

Load and display images from the Internet  |  Android Developers

グリッドレイアウトもマテリアルである程度決まりがある

Load and display images from the Internet  |  Android Developers