我有一個問題:當我使用react-native-image-progress,react-native-fast-image時看不到圖像。 我想爲listview添加加載圖像。謝謝!!!反應原生android:不可見圖像使用react-native-image-progress
import ProgressBar from 'react-native-progress/CircleSnail';
import FastImage from 'react-native-fast-image';
import { createImageProgress } from 'react-native-image-progress';
const Image = createImageProgress(FastImage);
<TouchableNativeFeedback
background={TouchableNativeFeedback.SelectableBackground()}
>
<Image
source={{ uri: 'url' }}
style={styles.Image}
indicator={ProgressBar}
/>
</TouchableNativeFeedback>
是'url' HTTPS? – MattyK14
是的。這是一個鏈接。 –
我的意思是它是https而不是http。 – MattyK14