SrSouza
10/30/2019, 2:54 PMkioba
10/30/2019, 3:10 PM@Model
object MyHomeState
do you want to have a global state?kioba
10/30/2019, 3:12 PM@Model
data class HomeState {
val contentList = modelListOf<Content>()
}
@Composable
private fun MyHomeContent() {
var myHomeState = +memo{ HomeState() }
// ...
}
SrSouza
10/30/2019, 3:12 PMLuca Nicoletti
10/30/2019, 3:14 PMhttps://i.imgflip.com/3es4oi.jpg▾
Luca Nicoletti
10/30/2019, 3:27 PMSrSouza
10/30/2019, 4:44 PMLuca Nicoletti
10/30/2019, 4:45 PMLuca Nicoletti
10/30/2019, 4:45 PMLuca Nicoletti
10/30/2019, 4:45 PMSrSouza
10/30/2019, 4:52 PMLuca Nicoletti
10/30/2019, 4:52 PMkioba
10/30/2019, 4:56 PMSrSouza
10/30/2019, 5:49 PMLuca Nicoletti
10/30/2019, 6:00 PMTheme
?SrSouza
10/30/2019, 6:28 PMChuck Jazdzewski [G]
10/30/2019, 6:29 PMSrSouza
10/30/2019, 7:25 PMChuck Jazdzewski [G]
10/30/2019, 9:43 PMModalDrawerLayout
is necessary to reproduce this but probably purtubes the composition enough to run into this.
As for missing a step. That seems like a requirement for being a programmer apparently as it happens all the time. I just wanted to make sure you knew I was not just deflecting the issue with "works on my machine" type response. I really wanted to dig in.