Zhelyazko Atanasov08/16/2020, 5:37 PM
but reading the docs doesn't really explain what it is. Judging by the samples, it looks to be something like a
, am I right? 2. All the samples I've been reading use hardcoded values for dimensions (using the extension function
). Haven't read much about Theming yet, but is it possible to define something similar to custom attributes (
) or dimensions and reference those instead of the hardcoded values? Same for Strings - is there an alternative to
3. Are there any more complex examples of a complete application? I'm about to read and play with Chris Banes' Tivi, as I'd like to see some samples on how to handle large app with many different screens, what are the best practices to integrate Composables with ViewModel... 4. And last one for the time being - so far I haven't seen/read anything about handling configuration changes (the most common one being screen rotation). In Activity's world we have
- is there an alternative in Compose (other than ViewModel's SaveState)?
Adam Powell08/16/2020, 5:43 PM
but that does the usual parcel saving.
Zhelyazko Atanasov08/16/2020, 5:46 PM
composable and how to reference String resources.
Adam Powell08/16/2020, 5:49 PM
Zhelyazko Atanasov08/16/2020, 5:57 PM
cb08/18/2020, 7:11 AM