Let's collect some useful AI prompts for code generation or other tasks.
... TODO
Creating a new screen, adding it to the navigation graph and creating a XViewModel, XViewState, XScreen, XContent set for it.
X is HelpCategories here. Duplicate XScreen, XContent, XViewState, XViewModel etc. Name it HelpQuestionsOverview in package “questions”
X = .. Y = ..
Migrate XFragment to jetpack compose.
- Take YFragment, YScreen and subcomposables as an example, where this was already done.
- Create many subcomposables, use existing composables when possible, like NormalButton. Create many files.
- Send the ViewModel as parameter to the XScreen composable, not deeper.
- The view model’s viewState / uiState should be a mutablestateflow, like in the YModel. To adjust the upstate, use the
.update {}function, notvalue =. - Add previews to XContent and other composable, not to XScreen.