You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently AsyncImage composable only takes string as data but in some scenarios, we want drawable or dynamic image (from internet using URL) at the same time so for this we need some flexible composable otherwise we have to create two composable separately.
For example: If the user has profile image, then show it else show a dummy avatar from drawable resources
Update:
Also add option for placeholder while the image is in loading state.
The text was updated successfully, but these errors were encountered:
Currently
AsyncImage
composable only takes string as data but in some scenarios, we want drawable or dynamic image (from internet using URL) at the same time so for this we need some flexible composable otherwise we have to create two composable separately.For example: If the user has profile image, then show it else show a dummy avatar from drawable resources
Update:
Also add option for placeholder while the image is in loading state.
The text was updated successfully, but these errors were encountered: