HI,
I want activity indicator while video is loading.
JavaScript
const [opacity, setopacity] = useState(0);
const onLoadStart = () => {
setopacity(1);
}
const onLoad = () => {
setopacity(0);
}
const onBuffer = ({isBuffering}) => {
setopacity(isBuffering ? 1 : 0);
}I am using flatlist video.Its working but if one video's activity indicator is loading automatically all video activity indicator is loading

Answers
Know the answer? Post it. Somebody with the same question will find it here.