https://github.com/lixoten/stuff-app-android-kotlin-compose
Simple app to demonstrate navigation without navController NavHost. and to demonstrate adaptive layout.
https://github.com/lixoten/stuff-app-android-kotlin-compose
adaptive-layouts android backhandler jetpack-compose lazycolumn navigation uistate viewmodel
Last synced: about 1 month ago
JSON representation
Simple app to demonstrate navigation without navController NavHost. and to demonstrate adaptive layout.
- Host: GitHub
- URL: https://github.com/lixoten/stuff-app-android-kotlin-compose
- Owner: lixoten
- Created: 2023-01-14T18:54:01.000Z (over 2 years ago)
- Default Branch: adaptive_layout
- Last Pushed: 2023-01-14T18:54:07.000Z (over 2 years ago)
- Last Synced: 2024-04-18T05:47:02.295Z (about 1 year ago)
- Topics: adaptive-layouts, android, backhandler, jetpack-compose, lazycolumn, navigation, uistate, viewmodel
- Language: Kotlin
- Homepage:
- Size: 906 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Stuff App - List To Detail Navigation and Adaptive Layout
Simple app to demonstrate navigation without navController NavHost.
and to demonstrate adaptive layout.The App displays a list of things(stuff) screen, on click of an item a detailed screen is displayed
We aso use a viewModel and uiState.
Data is kept in Array loaded into viewModel
UiState observes the List, a boolean flag and the current selected/default item
On bigger screen or in screen rotate the Detail will be displayed next to the listSome goals
- Use navigate with out navController
- Use viewmodel
- use uiState
- use BackHandler
- https://github.com/lixoten/stuff-app-android-kotlin-compose/tree/navigationSome goals
- Apply the concept of adaptive layout.
- https://github.com/lixoten/stuff-app-android-kotlin-compose/tree/adaptive_layout## Codelab Screenshot
![]()
![]()
ref: stuff-app-android-kotlin-compose