google-developer-training / basic-android-kotlin-compose-training-reply-app

Apache License 2.0
45 stars 54 forks source link

Build an adaptive app with adaptive layout: Android Basics with Compose #78

Open alghe-global opened 9 months ago

alghe-global commented 9 months ago

https://developer.android.com/codelabs/basic-android-kotlin-compose-adaptive-content-for-large-screens?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-4-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-adaptive-content-for-large-screens#2

16. Run the app on the tablet mode and see the following layout:

ReplyDetailsScreen is missing isFullScreen inside ReplyListAndDetailContent composable in ReplyHomeContent.kt file

alghe-global commented 9 months ago
--- a/AndroidBasicsCourse/Reply/app/src/main/java/com/example/reply/ui/ReplyHomeContent.kt
+++ b/AndroidBasicsCourse/Reply/app/src/main/java/com/example/reply/ui/ReplyHomeContent.kt
@@ -113,6 +113,7 @@ fun ReplyListAndDetailContent(
         val activity = LocalContext.current as Activity
         ReplyDetailsScreen(
             replyUiState = replyUiState,
+            isFullScreen = false,
             onBackPressed = {},
             modifier = Modifier.weight(1f)
         )