-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
Hi, I am using the waveform component, but sometimes it takes a while to load the sound file and show up the waveform on view, I like to put a loading spinner before it is loaded, after it is loaded then turn off the spinner, so is there a loaded callback function where I can turn off the loading spinner? my code looks like this:
`
{audioFileURL.length!=0 && <WaveForm
style={styles.waveform}
onPress={this.changestate}
source={{uri: audioFileURL}}
stop={stopAudio}
play={playAudio}
autoPlay={true}
waveFormStyle={{ waveColor: "lightsteelblue", scrubColor: "white" }}
/>}
`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels