loadingIndicatorSource

loadingIndicatorSource

本文介绍了react-native中的loadingIndicatorSource和defaultSource props之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的定义两者的 属性几乎相同。

The defination for loadingIndicatorSource and defaultSource properties are almost same for both.

请问,任何人都能说出 道具?

Please, can anyone tell what is the difference between loadingIndicatorSource and defaultSource props in react-native?

推荐答案

正如你所说他们真的类似但个人我会使用

Well as you said they are really similar but personally i would use

defaultSorce 作为占位符图片(加载图片源时显示的静态图片。)

defaultSorce for a placeholder image (A static image to display while loading the image source.)

loadingIndicatorSource 您可以在等待图片加载时使用它来显示微调器

loadingIndicatorSource you can use it to display a spinner while waiting the image is loaded

这不是一个有用的答案,但希望它会有所帮助!
再见!

Not such an useful answer but hope it will help!Bye!

这篇关于react-native中的loadingIndicatorSource和defaultSource props之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 13:01