Open Yuki-Naka-Sharing-Study opened 1 month ago
URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet?hl=ja#7
Describe the problem 取得された写真の数を出力するため、marsUiState を次のように更新します。
val listResult = MarsApi.retrofitService.getPhotos() marsUiState = MarsUiState.Success( "Success: ${listResult.size} Mars photos retrieved" )
と書かれているが、不足しているコードがある。
間違いがこれで2個目です。まともなコンテンツを出すようにして頂きたいです。
URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet?hl=ja#7
Describe the problem 取得された写真の数を出力するため、marsUiState を次のように更新します。
val listResult = MarsApi.retrofitService.getPhotos() marsUiState = MarsUiState.Success( "Success: ${listResult.size} Mars photos retrieved" )
と書かれているが、不足しているコードがある。
間違いがこれで2個目です。まともなコンテンツを出すようにして頂きたいです。