Kevin Aude
02/23/2021, 10:58 AMjim
02/23/2021, 2:04 PMResolveInfo
is an Android-specific class, so its use should probably be avoided within Composable functions. Furthermore, you really want to keep your composable functions as reusable as possible, which means keeping them as detached from the rest of your application as possible (nothing should be reading from your manifest file, for instance).
Instead, architect your dataflow such that the read of any application-specific information is done at the application level (eg. in your activity) and pass any data needed for rendering via platform-independent parameters into your composable function.Kevin Aude
02/23/2021, 2:07 PMjim
02/23/2021, 2:11 PMKevin Aude
02/23/2021, 2:16 PM