Luca Nicoletti
08/21/2019, 4:35 PMCaused by: java.lang.IllegalStateException: Composition requires an active composition context
mean? What are the possible causes?kioba
08/21/2019, 5:02 PMroot
. My assumption based on that is you are calling a compose function without a root to be able to attach itself.SetContent
function in your activity you can achieve the same result:
//setContent {
epicContent()
//}
Ryan Mentley
08/21/2019, 5:29 PMLuca Nicoletti
08/22/2019, 7:44 AM@Composable
function I have, it crashed before even reaching any breakpoints :sRyan Mentley
08/22/2019, 7:47 PMLuca Nicoletti
08/23/2019, 7:31 AM+state
) to assign values to val
, outside of a @composable
functionChuck Jazdzewski [G]
08/23/2019, 6:04 PM@Composable
functions that return values. When that is done they will be reported as errors just as trying to call an @Composable
outside and @Composable
is an error.