compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Asynchronous resource loading

Open igordmn opened this issue 5 years ago • 1 comments

Android supports asynchronous loading:

@Composable
fun loadFontResource(...): DeferredResource<Typeface>

@Composable
fun loadVectorResource(...): DeferredResource<VectorAsset>

@Composable
fun loadImageResource(...): DeferredResource<ImageAsset>

We need to implement it on desktop too (and also move some of the classes to commonMain)

igordmn avatar Nov 16 '20 19:11 igordmn

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Aug 26 '24 17:08 okushnikov