Harold Scissors
04/21/2022, 5:25 AM@Composable
fun CustomView(myObject: MyObject) { //some Compose UI }
If MyObject isn't marked @Stable will this method be recomposed regardless if the values of MyObject have not change?Ben Trengrove [G]
04/21/2022, 5:29 AMHarold Scissors
04/21/2022, 5:35 AMMyObject for example, could be made of several string and booleansAlbert Chang
04/21/2022, 5:38 AMHarold Scissors
04/21/2022, 5:43 AMcollectAsState as well? For example, if I had a Flow<MyObject> and used val myObject by someFlow.collectAsState()? In others words, would the remember inside the collectAsState correctly compare if it compared two MyObjects (i.e. 2 emissions of the flow)?f.babic
04/21/2022, 5:49 AMAlbert Chang
04/21/2022, 5:49 AMHarold Scissors
04/21/2022, 5:51 AMTolriq
04/21/2022, 6:38 AMAlbert Chang
04/21/2022, 6:43 AMTolriq
04/21/2022, 6:49 AMAlbert Chang
04/21/2022, 7:10 AMTolriq
04/21/2022, 7:16 AMZach Klippenstein (he/him) [MOD]
04/21/2022, 5:06 PMTolriq
04/21/2022, 5:08 PM