Category Archives: Image Component
Example of Image.resolveAssetSource() in React Native

Hello friends, In today’s tutorial we would learn about Image.resolveAssetSource(source) inbuilt function of image component in react native. Image.resolveAssetSource() function is used to get local resource assets image folder image width and height. It return us 4 type of values image width, height, scale and URI. We would be printing…
Example of Image.queryCache() in React Native

Hello friends, In today’s tutorial we would learn about Image.queryCache() function of Image component in react native. The queryCache() function is used to perform a cache interrogation and check whether the image is cached or not. This function also checks in which storage the image is being cached like “disk”,…
Example of Image.prefetch() in React Native

Hello friends, In today’s tutorial we would learn about Image.prefetch(url) inbuilt function of Image component in react native. The prefetch function is used to prefetched a remote URL image to application disk cache for later use in the application. This would make the application works faster because at the time…